Skip to content

Commit

Permalink
Disable color output to avoid appverif problem
Browse files Browse the repository at this point in the history
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 microsoft#679

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
  • Loading branch information
dthaler committed Jan 4, 2022
1 parent d8f00f8 commit 656ff8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/libs/util/catch_wrapper.hpp
Expand Up @@ -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)

0 comments on commit 656ff8d

Please sign in to comment.