Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-06-14 23:23:59 +0200
committerMartin Hořeňovský2022-06-14 23:24:06 +0200
commit338e4ec1f8dc33f1f55ba1ab85b4ae73d0ffa65e (patch)
treef8e231bd94474e3ca42a5192528342e9cc866c57 /tests
parent372b7575f67ae82cd925452f6b8dcbd4ad8ea071 (diff)
downloadcatch3-338e4ec1f8dc33f1f55ba1ab85b4ae73d0ffa65e.tar.gz
Force disable console colours for tests that regex check output
Fixes #2458
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index af4ca28e..d029e05d 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -311,6 +311,7 @@ add_test(
$<TARGET_FILE:SelfTest> "#2025: same-level sections"
-c "A"
-c "B"
+ --colour-mode none
)
set_tests_properties(FilteredSection::GeneratorsDontCauseInfiniteLoop-2
PROPERTIES
@@ -394,6 +395,7 @@ add_test(NAME "Benchmarking::SkipBenchmarkMacros"
$<TARGET_FILE:SelfTest> "Skip benchmark macros"
--reporter console
--skip-benchmarks
+ --colour-mode none
)
set_tests_properties("Benchmarking::SkipBenchmarkMacros"
PROPERTIES
@@ -501,6 +503,7 @@ add_test(NAME "Outputs::DashAsOutLocationSendsOutputToStdout"
COMMAND
$<TARGET_FILE:SelfTest> "Factorials are computed"
--out=-
+ --colour-mode none
)
set_tests_properties("Outputs::DashAsOutLocationSendsOutputToStdout"
PROPERTIES
@@ -511,6 +514,7 @@ add_test(NAME "Reporters::DashAsLocationInReporterSpecSendsOutputToStdout"
COMMAND
$<TARGET_FILE:SelfTest> "Factorials are computed"
--reporter console::out=-
+ --colour-mode none
)
set_tests_properties("Reporters::DashAsLocationInReporterSpecSendsOutputToStdout"
PROPERTIES