Commit 7b6935c2 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Remove the winetest_ok() hack that adds a trailing '\n' if it is

missing.
parent 545ecf2e
...@@ -156,7 +156,6 @@ void winetest_set_location( const char* file, int line ) ...@@ -156,7 +156,6 @@ void winetest_set_location( const char* file, int line )
int winetest_ok( int condition, const char *msg, ... ) int winetest_ok( int condition, const char *msg, ... )
{ {
va_list valist; va_list valist;
int len;
tls_data* data=get_tls_data(); tls_data* data=get_tls_data();
if (data->todo_level) if (data->todo_level)
...@@ -172,9 +171,6 @@ int winetest_ok( int condition, const char *msg, ... ) ...@@ -172,9 +171,6 @@ int winetest_ok( int condition, const char *msg, ... )
vfprintf(stdout, msg, valist); vfprintf(stdout, msg, valist);
va_end(valist); va_end(valist);
} }
len=strlen(msg);
if (len==0 || msg[len-1]!='\n')
fputc( '\n', stdout );
InterlockedIncrement(&todo_failures); InterlockedIncrement(&todo_failures);
return 0; return 0;
} }
...@@ -193,9 +189,6 @@ int winetest_ok( int condition, const char *msg, ... ) ...@@ -193,9 +189,6 @@ int winetest_ok( int condition, const char *msg, ... )
vfprintf(stdout, msg, valist); vfprintf(stdout, msg, valist);
va_end(valist); va_end(valist);
} }
len=strlen(msg);
if (len==0 || msg[len-1]!='\n')
fputc( '\n', stdout );
InterlockedIncrement(&failures); InterlockedIncrement(&failures);
return 0; 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