Skip to content

Commit

Permalink
Disable color output to avoid appverif problem (#708)
Browse files Browse the repository at this point in the history
* 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 <dthaler@microsoft.com>

* Add reference to catch2 issue

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

0 comments on commit 6fb17c8

Please sign in to comment.