Skip to content
Snippets Groups Projects
Commit 0da37e29 authored by Corné Lukken's avatar Corné Lukken
Browse files

Merge branch 'L2SS-1447' into 'master'

L2SS-1447: Allow to skip tests, just setup integration env

Closes L2SS-1447

See merge request !745
parents cc3dff2c cd366d12
No related branches found
No related tags found
1 merge request!745L2SS-1447: Allow to skip tests, just setup integration env
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment