Skip to content

Commit d21123d

Browse files
committed
Allow for spaces in Slicer executable path in test script
1 parent 3ab0eec commit d21123d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/run_tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ tests=(
1111
SLICER_EXECUTABLE_PATHS=(
1212
"Slicer"
1313
"${HOME}/bin/Slicer-5.8.1-linux-amd64/Slicer"
14+
"${HOME}/bin/Slicer-5.10.0-linux-amd64/Slicer"
1415
"/home/researcher/slicer/Slicer-5.8.1-linux-amd64/Slicer" # path in docker image
1516
)
1617

@@ -40,7 +41,7 @@ test_summary=""
4041
for test in "${tests[@]}"; do
4142
echo "Running $test..."
4243
# run the test script in Slicer
43-
$SLICER_EXECUTABLE --no-splash --python-script "${THIS_DIR}"/run_tests.py "$test"
44+
"$SLICER_EXECUTABLE" --no-splash --python-script "${THIS_DIR}"/run_tests.py "$test"
4445
status=$?
4546

4647
# Get all report files in the Reports directory again after running the test

0 commit comments

Comments
 (0)