From 77fc26f56a75791370d7d95c09aba99b25c76e3c Mon Sep 17 00:00:00 2001 From: Stefan Ginsberg Date: Mon, 24 Aug 2009 17:41:36 +0000 Subject: [PATCH] - Deprecate TAG() in rostests svn path=/trunk/; revision=42918 --- rostests/drivers/kmtest/ntos_pools.c | 2 +- rostests/tests/pseh2/psehtest.c | 8 ++++++++ rostests/win32/win32k/tests/eng-mem-1.c | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/rostests/drivers/kmtest/ntos_pools.c b/rostests/drivers/kmtest/ntos_pools.c index e12fdbadd2c..dd4273b306f 100644 --- a/rostests/drivers/kmtest/ntos_pools.c +++ b/rostests/drivers/kmtest/ntos_pools.c @@ -30,7 +30,7 @@ //#define NDEBUG #include "debug.h" -#define TAG_POOLTEST TAG('P','t','s','t') +#define TAG_POOLTEST 'tstP' /* PRIVATE FUNCTIONS ***********************************************************/ diff --git a/rostests/tests/pseh2/psehtest.c b/rostests/tests/pseh2/psehtest.c index d8839e3c9f9..9ddd8390897 100644 --- a/rostests/tests/pseh2/psehtest.c +++ b/rostests/tests/pseh2/psehtest.c @@ -779,6 +779,12 @@ DEFINE_TEST(test_continue_execution_12) return ret == return_positive(); } + +DEFINE_TEST(test_continue_execution_13) +{ + /* XXX */ + return 1; +} //}}} /* _SEH2_LEAVE *///{{{ @@ -2573,6 +2579,8 @@ void testsuite_syntax(void) USE_TEST(test_execute_handler_12), USE_TEST(test_continue_execution_12), + USE_TEST(test_continue_execution_13), + USE_TEST(test_leave_1), USE_TEST(test_leave_2), USE_TEST(test_leave_3), diff --git a/rostests/win32/win32k/tests/eng-mem-1.c b/rostests/win32/win32k/tests/eng-mem-1.c index 8aa8aecd25f..54a4ed1b1ab 100644 --- a/rostests/win32/win32k/tests/eng-mem-1.c +++ b/rostests/win32/win32k/tests/eng-mem-1.c @@ -14,14 +14,14 @@ static void RunTest() /* Allocate memory with EngAllocMem */ pmem1 = 0; AllocSize1 = 1024; - AllocTag1 = TAG('D','x','y','z'); + AllocTag1 = 'zyxD'; pmem1 = EngAllocMem(FL_ZERO_MEMORY, AllocSize1, AllocTag1); _AssertNotEqualValue(pmem1, NULL); /* Allocate memory with EngAllocMem */ pmem2 = 0; AllocSize2 = 1024; - AllocTag2 = TAG('D','x','y','z'); + AllocTag2 = 'zyxD'; pmem2 = EngAllocUserMem(AllocSize2, AllocTag2); _AssertNotEqualValue(pmem1, NULL);