Add makefile for "polytest" test & enable it.
Fix compile warnings for diskspeed & zwcontinue tests
svn path=/trunk/; revision=13245
# Broken tests
# dnsapi iptest lan regdump subclass
-# polytest - Needs a mingw makefile
TEST_APPS = \
accelerator \
p_dup_handle \
palbitblt \
patblt \
+polytest \
popupmenu \
primitives \
pteb \
HANDLE hDevice;
OVERLAPPED ov;
- PBYTE Buffer;
+ PBYTE Buffer = NULL ;
DWORD Start;
DWORD dwReturned;
DWORD dwReadTotal;
--- /dev/null
+
+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
{
unsigned char * b;
size_t i;
- int r;
+ int r = rand();
b = (unsigned char *)p;