mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 22:44:18 +00:00
include: Print "test marked todo" messages in colour.
This commit is contained in:
parent
05386fd0ac
commit
90cdc49d26
|
@ -282,6 +282,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_yellow[] = "\e[33m";
|
||||
static const char color_bright_red[] = "\e[1;91m";
|
||||
|
||||
static void winetest_printf( const char *msg, ... ) __WINE_PRINTF_ATTR(1,2);
|
||||
|
@ -369,8 +370,10 @@ int winetest_vok( int condition, const char *msg, va_list args )
|
|||
{
|
||||
if (winetest_debug > 0)
|
||||
{
|
||||
if (winetest_color) printf( color_yellow );
|
||||
winetest_print_context( "Test marked todo: " );
|
||||
vprintf(msg, args);
|
||||
if (winetest_color) printf( color_reset );
|
||||
}
|
||||
InterlockedIncrement(&todo_successes);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue