mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Add COST property to the CMakeConfig tests
This commit is contained in:
parent
4e006a93ff
commit
be948f1fd0
@ -508,22 +508,19 @@ set_tests_properties("Colours::ColourModeCanBeExplicitlySetToAnsi"
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (CATCH_ENABLE_CONFIGURE_TESTS)
|
if (CATCH_ENABLE_CONFIGURE_TESTS)
|
||||||
add_test(NAME "CMakeConfig::DefaultReporter"
|
foreach(testName "DefaultReporter" "Disable" "DisableStringification"
|
||||||
|
"ExperimentalRedirect")
|
||||||
|
|
||||||
|
add_test(NAME "CMakeConfig::${testName}"
|
||||||
COMMAND
|
COMMAND
|
||||||
"${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_LIST_DIR}/TestScripts/testConfigureDefaultReporter.py" "${CATCH_DIR}" "${CMAKE_CURRENT_BINARY_DIR}"
|
"${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_LIST_DIR}/TestScripts/testConfigure${testName}.py" "${CATCH_DIR}" "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
)
|
)
|
||||||
add_test(NAME "CMakeConfig::Disable"
|
set_tests_properties("CMakeConfig::${testName}"
|
||||||
COMMAND
|
PROPERTIES
|
||||||
"${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_LIST_DIR}/TestScripts/testConfigureDisable.py" "${CATCH_DIR}" "${CMAKE_CURRENT_BINARY_DIR}"
|
COST 240
|
||||||
)
|
|
||||||
add_test(NAME "CMakeConfig::DisableStringification"
|
|
||||||
COMMAND
|
|
||||||
"${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_LIST_DIR}/TestScripts/testConfigureDisableStringification.py" "${CATCH_DIR}" "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
)
|
|
||||||
add_test(NAME "CMakeConfig::ExperimentalRedirect"
|
|
||||||
COMMAND
|
|
||||||
"${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_LIST_DIR}/TestScripts/testConfigureExperimentalRedirect.py" "${CATCH_DIR}" "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CATCH_USE_VALGRIND)
|
if (CATCH_USE_VALGRIND)
|
||||||
|
Loading…
Reference in New Issue
Block a user