mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
Improve test script
add usage verify flag value for -i is numeric allow multiple targets on the command line actually capture coverage output fix lingering GOFLAGS undef issue fix issue with -i not working at all: ((x++)) returns 1 when x is 0, which is incompatible with "set -e"
This commit is contained in:
@@ -36,7 +36,8 @@ trap cleanup EXIT SIGINT
|
||||
echo
|
||||
echo Integration test cases ...
|
||||
echo
|
||||
$(dirname $0)/../hack/test-go.sh test/integration -tags 'integration no-docker'
|
||||
GOFLAGS="-tags 'integration no-docker'" \
|
||||
$(dirname $0)/../hack/test-go.sh test/integration
|
||||
# leave etcd running if integration tests fail
|
||||
trap "echo etcd still running" EXIT
|
||||
|
||||
|
Reference in New Issue
Block a user