From 6fb17c819e561f705f9d136c111070dd02991375 Mon Sep 17 00:00:00 2001 From: Dave Thaler Date: Tue, 4 Jan 2022 10:23:24 -0800 Subject: [PATCH] Disable color output to avoid appverif problem (#708) * Disable color output to avoid appverif problem There does not appear to be any simple way to use a custom color class with CATCH2 so we just disable color as is done for a UWP. Fixes #679 Signed-off-by: Dave Thaler * Add reference to catch2 issue Signed-off-by: Dave Thaler --- tests/libs/util/catch_wrapper.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/libs/util/catch_wrapper.hpp b/tests/libs/util/catch_wrapper.hpp index 0807e0b0fd..6f5b1bb05d 100644 --- a/tests/libs/util/catch_wrapper.hpp +++ b/tests/libs/util/catch_wrapper.hpp @@ -8,5 +8,7 @@ #pragma warning(disable : 26495) // Always initialize a member variable #pragma warning(disable : 26812) // Prefer 'enum class' over 'enum' #pragma warning(disable : 26816) // The pointer points to memory allocated on the stack + +#define CATCH_CONFIG_COLOUR_NONE 1 // Disable color until https://github.com/catchorg/Catch2/issues/2345 is fixed. #include "catch2\catch.hpp" #pragma warning(pop)