_scripts/test_linux.sh,_scripts/test_windows.ps1: always return exit code 0 when testing on tip (#2997)
Same as what we do for test_mac.sh
This commit is contained in:
parent
9d269791d5
commit
2d9a9d439d
@ -57,4 +57,12 @@ elif [ ${version:4:2} -gt 17 ]; then
|
|||||||
export GOFLAGS=-buildvcs=false
|
export GOFLAGS=-buildvcs=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set +e
|
||||||
make test
|
make test
|
||||||
|
x=$?
|
||||||
|
if [ "$version" = "gotip" ]; then
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
exit $x
|
||||||
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -73,4 +73,7 @@ Write-Host $env:GOPATH
|
|||||||
go version
|
go version
|
||||||
go env
|
go env
|
||||||
go run _scripts/make.go test
|
go run _scripts/make.go test
|
||||||
Exit $LastExitCode
|
x = $LastExitCode
|
||||||
|
if ($version -ne "gotip") {
|
||||||
|
Exit $x
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user