[PATCH] tests: Restore the colon in the todo, skip and trace lines.

Francois Gouget fgouget at codeweavers.com
Tue Feb 11 20:16:48 CST 2020


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---

Sigh. Some more colons were missing :-(

I hacked the build, debian10 and debiant VMs so they have this patch. It 
should also not interfere with WineTest and all should get back to 
normal when this patch gets committed.

So the TestBot should not be broken for a second day. But some jobs 
completed before I tweaked the VMs so it's too late for those.

 include/wine/test.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/wine/test.h b/include/wine/test.h
index 7a5606a1ec5..3af3ffd2a91 100644
--- a/include/wine/test.h
+++ b/include/wine/test.h
@@ -346,7 +346,7 @@ int winetest_vok( int condition, const char *msg, __winetest_va_list args )
             {
                 if (winetest_debug > 0)
                 {
-                    printf( "%s:%d Test marked todo: ",
+                    printf( "%s:%d: Test marked todo: ",
                             data->current_file, data->current_line );
                     vprintf(msg, args);
                 }
@@ -396,7 +396,7 @@ void __winetest_cdecl winetest_trace( const char *msg, ... )
     if (winetest_add_line() < winetest_mute_threshold)
     {
         struct tls_data *data = get_tls_data();
-        printf( "%s:%d ", data->current_file, data->current_line );
+        printf( "%s:%d: ", data->current_file, data->current_line );
         __winetest_va_start(valist, msg);
         vprintf(msg, valist);
         __winetest_va_end(valist);
@@ -410,7 +410,7 @@ void winetest_vskip( const char *msg, __winetest_va_list args )
     if (winetest_add_line() < winetest_mute_threshold)
     {
         struct tls_data *data = get_tls_data();
-        printf( "%s:%d Tests skipped: ", data->current_file, data->current_line );
+        printf( "%s:%d: Tests skipped: ", data->current_file, data->current_line );
         vprintf(msg, args);
         InterlockedIncrement(&skipped);
     }
-- 
2.20.1



More information about the wine-devel mailing list