Skip to content

Commit

Permalink
simplify using path
Browse files Browse the repository at this point in the history
  • Loading branch information
white238 committed Mar 15, 2024
1 parent 01ef627 commit f6a4f05
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .gitlab/run_project_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@

BLT_DIR=`pwd`
RUNNER_SCRIPT=`pwd`/tests/projects/run_tests.py
cd `pwd`/tests/projects/
HOST_CONFIG_PATH=`pwd`/host-configs/llnl/$SYS_TYPE/$HOST_CONFIG

if [[ -z $HOST_CONFIG ]]; then
HOST_CONFIG=`pwd`/host-configs/llnl/$SYS_TYPE/$HOST_CONFIG
python3 $RUNNER_SCRIPT --run-test $ENABLED_BLT_TESTS --verbose --clean --blt-source-dir $BLT_DIR
else
python3 $RUNNER_SCRIPT --run-test $ENABLED_BLT_TESTS --host-config $HOST_CONFIG --verbose --clean --blt-source-dir $BLT_DIR
fi
cd `pwd`/tests/projects/
python3 $RUNNER_SCRIPT --run-test $ENABLED_BLT_TESTS --host-config $HOST_CONFIG_PATH --verbose --clean --blt-source-dir $BLT_DIR

0 comments on commit f6a4f05

Please sign in to comment.