diff --git a/sbin/run_integration_test.sh b/sbin/run_integration_test.sh index 00745ce0da6e704f505f8adc235c7370daebab7c..2c4af601e1e46f8aff974b455f7dc1de8a7d50d0 100755 --- a/sbin/run_integration_test.sh +++ b/sbin/run_integration_test.sh @@ -42,7 +42,7 @@ function integration_test { } # list of arguments expected in the input -optstring_long="help,no-build" +optstring_long="help,no-build,skip-tests" optstring="hnb" options=$(getopt -l ${optstring_long} -o ${optstring} -- "$@") @@ -60,6 +60,10 @@ while true; do export no_build=1 export NO_BASE=${no_build} ;; + --skip-tests) + echo "Only setup and configure environment don't run any tests" + export no_tests=1 + ;; --) shift break;; @@ -141,6 +145,10 @@ make start "${DEVICES[@]}" # Wait for devices to restart make await "${DEVICES[@]}" +if [ -n "${no_tests}" ]; then + exit 0 +fi + # Start the integration test cd "$LOFAR20_DIR/docker-compose" || exit 1 make up integration-test