mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Merge pull request #1122 from joshwget/refactor-integration-tests
Refactor integration tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# help: Run Python based integration tests
|
||||
# help: Run integration tests
|
||||
set -e
|
||||
|
||||
if [ "$INTEGRATION_TESTS" = 0 ]; then
|
||||
@@ -8,10 +8,10 @@ fi
|
||||
|
||||
source $(dirname $0)/version
|
||||
|
||||
cd $(dirname $0)/../tests/integration
|
||||
cd $(dirname $0)/../tests
|
||||
|
||||
if [ ! -e ../../dist/artifacts/initrd ]; then
|
||||
../../scripts/dev
|
||||
if [ ! -e ../dist/artifacts/initrd ]; then
|
||||
../scripts/dev
|
||||
fi
|
||||
|
||||
tox "$@"
|
||||
go test -timeout 20m
|
||||
|
Reference in New Issue
Block a user