Commit in reactos on MAIN
ChangeLog+181.273 -> 1.274
drivers/net/tcpip/tests/tests/ipreceive.c+1-11.1 -> 1.2
drivers/net/tcpip/tests/stubs.tst+21.3 -> 1.4
lib/ws2_32/tests/stubs.tst+11.1 -> 1.2
ntoskrnl/tests/stubs.tst+11.2 -> 1.3
regtests/shared/regtests.h+2-21.11 -> 1.12
+25-3
6 modified files
2004-11-20  Casper S. Hornstrup  <chorns@users.sourceforge.net>

	* drivers/net/tcpip/tests/tests/ipreceive.c (RunTest): Switch parameters
	to _AssertEqualValue.
	* drivers/net/tcpip/tests/stubs.tst: Add missing stubs.
	* lib/ws2_32/tests/stubs.tst: Ditto.
	* ntoskrnl/tests/stubs.tst: Ditto.
	* regtests/shared/regtests.h: Use unsigned format specifiers.

reactos
ChangeLog 1.273 -> 1.274
diff -u -r1.273 -r1.274
--- ChangeLog	16 Nov 2004 18:07:51 -0000	1.273
+++ ChangeLog	20 Nov 2004 17:56:22 -0000	1.274
@@ -1,3 +1,21 @@
+2004-11-20  Casper S. Hornstrup  <chorns@users.sourceforge.net>
+
+	* drivers/net/tcpip/tests/tests/ipreceive.c (RunTest): Switch parameters
+	to _AssertEqualValue.
+	* drivers/net/tcpip/tests/stubs.tst: Add missing stubs.
+	* lib/ws2_32/tests/stubs.tst: Ditto.
+	* ntoskrnl/tests/stubs.tst: Ditto.
+	* regtests/shared/regtests.h: Use unsigned format specifiers.
+
+2004-11-20  Casper S. Hornstrup  <chorns@users.sourceforge.net>
+
+	* config (SEH): Remove.
+	* regtests/shared/regtests.c (_alloca): Remove; Use from malloca.h
+	instead.
+	(PerformTest): Use PSEH to catch exceptions while running tests.
+	* tools/config.mk (CONFIG): Don't add SEH.
+	* tools/helper.mk: Link tests with pseh.a.
+
 2004-11-16  Casper S. Hornstrup  <chorns@users.sourceforge.net>
 
 	* drivers/lib/ip/network/arp.c: Assert certain conditions.

reactos/drivers/net/tcpip/tests/tests
ipreceive.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- ipreceive.c	7 Nov 2004 20:37:20 -0000	1.1
+++ ipreceive.c	20 Nov 2004 17:56:23 -0000	1.2
@@ -27,7 +27,7 @@
 	IPPacket.TotalSize = Packets[i].size;
 	IPReceive( &IF, &IPPacket );
     }
-    _AssertEqualValue(Status,STATUS_SUCCESS);
+    _AssertEqualValue(STATUS_SUCCESS, Status);
 }
 
 _Dispatcher(IpreceiveTest, "IPReceive");

reactos/drivers/net/tcpip/tests
stubs.tst 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- stubs.tst	9 Nov 2004 09:39:37 -0000	1.3
+++ stubs.tst	20 Nov 2004 17:56:23 -0000	1.4
@@ -48,3 +48,5 @@
 ntoskrnl.a _imp__IoAcquireCancelSpinLock@4
 ntoskrnl.a _imp__KeInitializeEvent@12
 ntoskrnl.a _imp__ExAllocatePool@8
+ntoskrnl.a _imp_@ExAcquireFastMutex@4
+ntoskrnl.a _imp_@ExReleaseFastMutex@4

reactos/lib/ws2_32/tests
stubs.tst 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- stubs.tst	23 Oct 2004 21:05:12 -0000	1.1
+++ stubs.tst	20 Nov 2004 17:56:23 -0000	1.2
@@ -14,5 +14,6 @@
 kernel32.dll  lstrcpyA@8
 ntdll.dll  ResetEvent@4
 ntdll.dll  SetEvent@4
+kernel32.dll  Sleep@4
 ntdll.dll  WaitForMultipleObjectsEx@20
 kernel32.dll  CloseHandle@4

reactos/ntoskrnl/tests
stubs.tst 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- stubs.tst	28 Oct 2004 19:01:58 -0000	1.2
+++ stubs.tst	20 Nov 2004 17:56:23 -0000	1.3
@@ -23,6 +23,7 @@
 hal.dll  HalReadDmaCounter@4
 hal.dll  HalReleaseDisplayOwnership@0
 hal.dll  HalReportResourceUsage@0
+hal.dll  HalRequestIpi@4
 hal.dll  @HalRequestSoftwareInterrupt@4
 hal.dll  HalReturnToFirmware@4
 hal.dll  HalSetEnvironmentVariable@8

reactos/regtests/shared
regtests.h 1.11 -> 1.12
diff -u -r1.11 -r1.12
--- regtests.h	28 Oct 2004 19:01:59 -0000	1.11
+++ regtests.h	20 Nov 2004 17:56:23 -0000	1.12
@@ -83,7 +83,7 @@
   if ((__Expected) != (__Actual)) \
     { \
       char _message[100]; \
-      sprintf(_message, "Expected %d/0x%.08x was %d/0x%.08x at %s:%d", \
+      sprintf(_message, "Expected %ld/0x%.08lx was %ld/0x%.08lx at %s:%d", \
         (__Expected), (__Expected), (__Actual), (__Actual), __FILE__, __LINE__); \
       AppendAssertion(_message); \
     } \
@@ -109,7 +109,7 @@
   if ((__Expected) == (__Actual)) \
     { \
       char _message[100]; \
-      sprintf(_message, "Actual value expected to be different from %d/0x%.08x at %s:%d", \
+      sprintf(_message, "Actual value expected to be different from %ld/0x%.08lx at %s:%d", \
         (__Expected), (__Expected), __FILE__, __LINE__); \
       AppendAssertion(_message); \
     } \
CVSspam 0.2.8