1
0
mirror of https://github.com/rancher/os.git synced 2025-06-21 04:31:55 +00:00
os/scripts/integration-test
Sven Dowideit fb7a5745c2 verbose reports the name of the test
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-23 05:40:14 +00:00

22 lines
329 B
Bash
Executable File

#!/bin/bash
# help: Run integration tests
set -e
if [ "$INTEGRATION_TESTS" = 0 ]; then
exit 0
fi
source $(dirname $0)/version
cd $(dirname $0)/../tests
if [ ! -e "../dist/artifacts/$INITRD" ]; then
../scripts/dev
fi
if [ "$RUNTEST" != "" ]; then
RUNTEST="-check.f ${RUNTEST}"
fi
go test -v -timeout 9999m $RUNTEST