Skip to content

Commit 3b5db9c

Browse files
committed
Avoid using --test-dir option in ctest
1 parent 879bb3a commit 3b5db9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tests/test_properties/build-and-run.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo $SOURCE
1414
ecbuild $SOURCE/test_project -B $HERE/build
1515

1616
# Run only one specific test (which should invoke the others)
17-
ctest --test-dir $HERE/build -R write_world_after_hello
17+
(cd $HERE/build; ctest -R write_world_after_hello) # Avoid using --test-dir option in ctest
1818

1919
# Check if the output is as expected
2020
echo -n "Hello, World!" | diff - $HERE/build/output.txt

0 commit comments

Comments
 (0)