From 35fb03888f9bac3db69e6faff0e2a22e93d038e6 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Mon, 20 Feb 2012 19:26:27 +0000 Subject: [PATCH] - Hide test traces in test cd. This should make comparing test logs easier svn path=/trunk/; revision=55759 --- reactos/boot/bootdata/bootcdregtest/regtest.cmd | 3 ++- reactos/include/reactos/wine/test.h | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/reactos/boot/bootdata/bootcdregtest/regtest.cmd b/reactos/boot/bootdata/bootcdregtest/regtest.cmd index f33b9d32429..4e9b14eefef 100644 --- a/reactos/boot/bootdata/bootcdregtest/regtest.cmd +++ b/reactos/boot/bootdata/bootcdregtest/regtest.cmd @@ -1,3 +1,4 @@ @echo off +set WINETEST_DEBUG=0 dbgprint --process "ipconfig" -start rosautotest /r /s \ No newline at end of file +start rosautotest /r /s diff --git a/reactos/include/reactos/wine/test.h b/reactos/include/reactos/wine/test.h index eb45ad653b1..921d8b76b1b 100644 --- a/reactos/include/reactos/wine/test.h +++ b/reactos/include/reactos/wine/test.h @@ -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,