diff --git a/extras/CatchAddTests.cmake b/extras/CatchAddTests.cmake index aba0d0019b..764da957a5 100644 --- a/extras/CatchAddTests.cmake +++ b/extras/CatchAddTests.cmake @@ -404,7 +404,7 @@ function(catch_discover_tests_impl) "${_TEST_EXECUTABLE}" ) prepare_command_fragment(_args_reporter_fragment - "${extra_args}" + ${extra_args} "${reporter_arg}" "--order decl" ) diff --git a/tests/TestScripts/DiscoverTests/CMakeLists.txt b/tests/TestScripts/DiscoverTests/CMakeLists.txt index 8ae0decb67..9aa9342995 100644 --- a/tests/TestScripts/DiscoverTests/CMakeLists.txt +++ b/tests/TestScripts/DiscoverTests/CMakeLists.txt @@ -18,6 +18,7 @@ catch_discover_tests( TEST_PREFIX " prefix " TEST_SUFFIX " suffix " ADD_TAGS_AS_LABELS + EXTRA_ARGS --colour-mode none --name "discovery regression tests" DISCOVERY_MODE PRE_TEST ${extra_args} )