1
0
mirror of https://github.com/rancher/os.git synced 2025-05-08 16:16:20 +00:00
os/scripts/integration-test
gizmotronic 015deae38c Restore the missing initrd artifact.
This reverts only the path-related changes in b3a9893.
2017-02-02 23:39:20 -06:00

22 lines
326 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 -timeout 9999m $RUNTEST