integration-test 247 B

123456789101112131415161718
  1. #!/bin/bash
  2. # help: Run integration tests
  3. set -e
  4. if [ "$INTEGRATION_TESTS" = 0 ]; then
  5. exit 0
  6. fi
  7. source $(dirname $0)/version
  8. cd $(dirname $0)/../tests
  9. if [ ! -e ../dist/artifacts/initrd ]; then
  10. ../scripts/dev
  11. fi
  12. go test -timeout 30m