- Hide test traces in test cd. This should make comparing test logs easier
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 20 Feb 2012 19:26:27 +0000 (19:26 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 20 Feb 2012 19:26:27 +0000 (19:26 +0000)
svn path=/trunk/; revision=55759

reactos/boot/bootdata/bootcdregtest/regtest.cmd
reactos/include/reactos/wine/test.h

index f33b9d3..4e9b14e 100644 (file)
@@ -1,3 +1,4 @@
 @echo off\r
+set WINETEST_DEBUG=0\r
 dbgprint --process "ipconfig"\r
-start rosautotest /r /s
\ No newline at end of file
+start rosautotest /r /s\r
index eb45ad6..921d8b7 100644 (file)
@@ -314,7 +314,8 @@ int winetest_vok( int condition, const char *msg, __winetest_va_list args )
         }
         else
         {
-            if (winetest_debug > 0)
+            /* show todos even if traces are disabled*/
+            /*if (winetest_debug > 0)*/
             {
                 fprintf( stdout, "%s:%d: Test marked todo: ",
                          data->current_file, data->current_line );
@@ -555,7 +556,8 @@ static int run_test( const char *name )
     current_test = test;
     test->func();
 
-    if (winetest_debug)
+    /* show test results even if traces are disabled */
+    /*if (winetest_debug)*/
     {
         fprintf( stdout, "%s: %d tests executed (%d marked as todo, %d %s), %d skipped.\n",
                  test->name, successes + failures + todo_successes + todo_failures,