There was an error while loading. Please reload this page.
--test-dir
ctest
1 parent 879bb3a commit 3b5db9cCopy full SHA for 3b5db9c
tests/test_properties/build-and-run.sh
@@ -14,7 +14,7 @@ echo $SOURCE
14
ecbuild $SOURCE/test_project -B $HERE/build
15
16
# Run only one specific test (which should invoke the others)
17
-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
18
19
# Check if the output is as expected
20
echo -n "Hello, World!" | diff - $HERE/build/output.txt
0 commit comments