Test.sh fallback
This commit is contained in:
parent
ddf2fc0d0b
commit
c0aeb01ff7
@ -59,6 +59,9 @@
|
|||||||
|
|
||||||
- Project is switch to use Go modules.
|
- Project is switch to use Go modules.
|
||||||
|
|
||||||
|
- Now test.sh is used by default if copying is not implemented in
|
||||||
|
Makefile.
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
- *Kernel factory* is removed completely in favor of incremental
|
- *Kernel factory* is removed completely in favor of incremental
|
||||||
|
3
pew.go
3
pew.go
@ -365,6 +365,9 @@ func whatever(swg *sizedwaitgroup.SizedWaitGroup, ka config.Artifact,
|
|||||||
|
|
||||||
if testPath == "" {
|
if testPath == "" {
|
||||||
testPath = result.BuildArtifact + "_test"
|
testPath = result.BuildArtifact + "_test"
|
||||||
|
if !exists(testPath) {
|
||||||
|
testPath = tmp + "/" + "test.sh"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
remoteTest, err := copyTest(q, testPath, ka)
|
remoteTest, err := copyTest(q, testPath, ka)
|
||||||
|
Loading…
Reference in New Issue
Block a user