diff --git a/tests/run_test.cpp b/tests/run_test.cpp index 7e3b8d3..ac32d05 100644 --- a/tests/run_test.cpp +++ b/tests/run_test.cpp @@ -17,5 +17,15 @@ int runAllTests(int _argc, const char* _argv[]) ", Time: " __TIME__ ", C++: " BX_CPP_NAME ); - return Catch::Session().run(_argc, _argv); + + using namespace Catch; + + Session session; + + ConfigData config; + config.useColour = BX_PLATFORM_EMSCRIPTEN ? UseColour::No : UseColour::Auto; + + session.useConfigData(config); + + return session.run(_argc, _argv); }