integration-test 335 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. # help: Run integration tests
  3. set -ex
  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. if [ "$RUNTEST" != "" ]; then
  13. RUNTEST="-check.f ${RUNTEST}"
  14. fi
  15. time go test -v -timeout 9999m $RUNTEST