Skip to content
Snippets Groups Projects
Commit 6423ed1a authored by Jö Fahlke's avatar Jö Fahlke
Browse files

Merge branch 'fix/notrun-expected-compilefail-tests' into 'master'

[dune_add_test] Do not check existance of EXPECT_COMPILE_FAIL targets.

Closes #100

See merge request !413
parents bbd8dfdd 468d6951
Branches
Tags
1 merge request!413[dune_add_test] Do not check existance of EXPECT_COMPILE_FAIL targets.
Pipeline #
......@@ -303,7 +303,9 @@ function(dune_add_test)
)
# Make the test depend on the existence of the target to trigger "Not Run" response
set_tests_properties(${ACTUAL_NAME} PROPERTIES REQUIRED_FILES ${ADDTEST_TARGET})
if(NOT ADDTEST_EXPECT_COMPILE_FAIL)
set_tests_properties(${ACTUAL_NAME} PROPERTIES REQUIRED_FILES ${ADDTEST_TARGET})
endif()
# Define the number of processors (ctest will coordinate this with the -j option)
set_tests_properties(${ACTUAL_NAME} PROPERTIES PROCESSORS ${procnum})
# Apply the timeout (which was defaulted to 5 minutes if not specified)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment