1
0
mirror of https://github.com/rancher/os.git synced 2025-06-05 21:22:31 +00:00
os/scripts/integration-test
Sven Dowideit 2719d8a8e4 oh, that's why we're quietly skipping the integration tests
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-21 01:23:02 +00:00

22 lines
335 B
Bash
Executable File

#!/bin/bash
# help: Run integration tests
set -ex
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
time go test -v -timeout 9999m $RUNTEST