From 656ff8de174a2ab855b4937f32fb0b1445e2419f Mon Sep 17 00:00:00 2001 From: Dave Thaler Date: Mon, 3 Jan 2022 21:07:29 -0800 Subject: [PATCH] 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 --- tests/libs/util/catch_wrapper.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/libs/util/catch_wrapper.hpp b/tests/libs/util/catch_wrapper.hpp index 0807e0b0fd..ede99062ef 100644 --- a/tests/libs/util/catch_wrapper.hpp +++ b/tests/libs/util/catch_wrapper.hpp @@ -8,5 +8,6 @@ #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 #include "catch2\catch.hpp" -#pragma warning(pop) +#pragma warning(pop) \ No newline at end of file