Skip to content

Commit

Permalink
Avoid using --test-dir option in ctest
Browse files Browse the repository at this point in the history
  • Loading branch information
tweska committed Jan 15, 2025
1 parent 879bb3a commit 3b5db9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_properties/build-and-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ echo $SOURCE
ecbuild $SOURCE/test_project -B $HERE/build

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

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

0 comments on commit 3b5db9c

Please sign in to comment.