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

missing.
This commit is contained in:
Francois Gouget 2004-02-10 20:09:26 +00:00 committed by Alexandre Julliard
parent 545ecf2ef3
commit 7b6935c2ae
1 changed files with 0 additions and 7 deletions

View File

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