From 2884eb4ffbcc7215674dcef95885a75ef8763f6e Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 13 Sep 2013 09:20:52 +0000 Subject: [PATCH] [WINE/TEST] * Introduce a way to properly mark the todos instead of counting them as failures. Brought to you by Thomas Faber. svn path=/trunk/; revision=60074 --- reactos/boot/bootdata/bootcdregtest/regtest.cmd | 1 + reactos/include/reactos/wine/test.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/reactos/boot/bootdata/bootcdregtest/regtest.cmd b/reactos/boot/bootdata/bootcdregtest/regtest.cmd index 7e0d2aa4512..e5190514463 100644 --- a/reactos/boot/bootdata/bootcdregtest/regtest.cmd +++ b/reactos/boot/bootdata/bootcdregtest/regtest.cmd @@ -1,5 +1,6 @@ @echo off set WINETEST_DEBUG=0 +set WINETEST_PLATFORM=reactos if exist "C:\ReactOS\bin\AHKAppTests.cmd" ( dbgprint "Preparing AHK Application testing suite." diff --git a/reactos/include/reactos/wine/test.h b/reactos/include/reactos/wine/test.h index c56947c0821..8d0b91ed70c 100644 --- a/reactos/include/reactos/wine/test.h +++ b/reactos/include/reactos/wine/test.h @@ -137,7 +137,13 @@ extern void __winetest_cdecl winetest_trace( const char *msg, ... ); #define todo(platform) for (winetest_start_todo(platform); \ winetest_loop_todo(); \ winetest_end_todo(platform)) + +#define todo_ros todo("reactos") +#ifdef USE_WINE_TODOS +#define todo_wine todo_ros +#else #define todo_wine todo("wine") +#endif #ifdef NONAMELESSUNION