1
0
mirror of https://github.com/rancher/os.git synced 2025-06-21 20:47:04 +00:00
os/scripts/integration-test
2016-07-20 20:28:22 -07:00

18 lines
247 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
go test -timeout 20m