Sylvain Petreolle <spetreolle(a)yahoo.fr>fr>:
Add makefile for "polytest" test & enable it.
Fix compile warnings for diskspeed & zwcontinue tests
Modified: trunk/rosapps/tests/Makefile
Modified: trunk/rosapps/tests/diskspeed/diskspeed.c
Added: trunk/rosapps/tests/polytest/Makefile
Modified: trunk/rosapps/tests/zwcontinue/zwcontinue.c
_____
Modified: trunk/rosapps/tests/Makefile
--- trunk/rosapps/tests/Makefile 2005-01-24 09:31:42 UTC (rev
13244)
+++ trunk/rosapps/tests/Makefile 2005-01-24 09:33:21 UTC (rev
13245)
@@ -8,7 +8,6 @@
# Broken tests
# dnsapi iptest lan regdump subclass
-# polytest - Needs a mingw makefile
TEST_APPS = \
accelerator \
@@ -66,6 +65,7 @@
p_dup_handle \
palbitblt \
patblt \
+polytest \
popupmenu \
primitives \
pteb \
_____
Modified: trunk/rosapps/tests/diskspeed/diskspeed.c
--- trunk/rosapps/tests/diskspeed/diskspeed.c 2005-01-24 09:31:42 UTC
(rev 13244)
+++ trunk/rosapps/tests/diskspeed/diskspeed.c 2005-01-24 09:33:21 UTC
(rev 13245)
@@ -81,7 +81,7 @@
HANDLE hDevice;
OVERLAPPED ov;
- PBYTE Buffer;
+ PBYTE Buffer = NULL ;
DWORD Start;
DWORD dwReturned;
DWORD dwReadTotal;
_____
Added: trunk/rosapps/tests/polytest/Makefile
--- trunk/rosapps/tests/polytest/Makefile 2005-01-24 09:31:42 UTC
(rev 13244)
+++ trunk/rosapps/tests/polytest/Makefile 2005-01-24 09:33:21 UTC
(rev 13245)
@@ -0,0 +1,22 @@
+
+PATH_TO_TOP = ../../../reactos
+
+TARGET_NORC = yes
+
+TARGET_TYPE = program
+
+TARGET_APPTYPE = windows
+
+TARGET_NAME = polytest
+
+TARGET_SDKLIBS = kernel32.a gdi32.a
+
+TARGET_OBJECTS = polytest.o
+
+TARGET_CFLAGS = -Wall -Werror
+
+include $(PATH_TO_TOP)/rules.mak
+
+include $(TOOLS_PATH)/helper.mk
+
+# EOF
_____
Modified: trunk/rosapps/tests/zwcontinue/zwcontinue.c
--- trunk/rosapps/tests/zwcontinue/zwcontinue.c 2005-01-24 09:31:42 UTC
(rev 13244)
+++ trunk/rosapps/tests/zwcontinue/zwcontinue.c 2005-01-24 09:33:21 UTC
(rev 13245)
@@ -35,7 +35,7 @@
{
unsigned char * b;
size_t i;
- int r;
+ int r = rand();
b = (unsigned char *)p;