Commit 05386fd0 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

include: Print "succeeded inside todo block" messages in colour.

parent 549969a6
......@@ -281,6 +281,7 @@ const char *winetest_elapsed(void)
}
static const char color_reset[] = "\e[0m";
static const char color_dark_red[] = "\e[31m";
static const char color_bright_red[] = "\e[1;91m";
static void winetest_printf( const char *msg, ... ) __WINE_PRINTF_ATTR(1,2);
......@@ -354,8 +355,10 @@ int winetest_vok( int condition, const char *msg, va_list args )
{
if (condition)
{
if (winetest_color) printf( color_dark_red );
winetest_print_context( "Test succeeded inside todo block: " );
vprintf(msg, args);
if (winetest_color) printf( color_reset );
InterlockedIncrement(&todo_failures);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment