- Deprecate TAG() in rostests
authorStefan Ginsberg <stefanginsberg@gmail.com>
Mon, 24 Aug 2009 17:41:36 +0000 (17:41 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Mon, 24 Aug 2009 17:41:36 +0000 (17:41 +0000)
svn path=/trunk/; revision=42918

rostests/drivers/kmtest/ntos_pools.c
rostests/tests/pseh2/psehtest.c
rostests/win32/win32k/tests/eng-mem-1.c

index e12fdba..dd4273b 100644 (file)
@@ -30,7 +30,7 @@
 //#define NDEBUG
 #include "debug.h"
 
-#define TAG_POOLTEST TAG('P','t','s','t')
+#define TAG_POOLTEST 'tstP'
 
 /* PRIVATE FUNCTIONS ***********************************************************/
 
index d8839e3..9ddd839 100644 (file)
@@ -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),
index 8aa8aec..54a4ed1 100644 (file)
@@ -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);