mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Sylvain Petreolle <spetreolle@yahoo.fr>:
Add makefile for "polytest" test & enable it. Fix compile warnings for diskspeed & zwcontinue tests svn path=/trunk/; revision=13245
This commit is contained in:
parent
1aef2603e8
commit
5888e99ef3
4 changed files with 25 additions and 3 deletions
|
@ -8,7 +8,6 @@ include $(PATH_TO_TOP)/rules.mak
|
||||||
|
|
||||||
# Broken tests
|
# Broken tests
|
||||||
# dnsapi iptest lan regdump subclass
|
# dnsapi iptest lan regdump subclass
|
||||||
# polytest - Needs a mingw makefile
|
|
||||||
|
|
||||||
TEST_APPS = \
|
TEST_APPS = \
|
||||||
accelerator \
|
accelerator \
|
||||||
|
@ -66,6 +65,7 @@ oskittcp \
|
||||||
p_dup_handle \
|
p_dup_handle \
|
||||||
palbitblt \
|
palbitblt \
|
||||||
patblt \
|
patblt \
|
||||||
|
polytest \
|
||||||
popupmenu \
|
popupmenu \
|
||||||
primitives \
|
primitives \
|
||||||
pteb \
|
pteb \
|
||||||
|
|
|
@ -81,7 +81,7 @@ int main(void)
|
||||||
HANDLE hDevice;
|
HANDLE hDevice;
|
||||||
OVERLAPPED ov;
|
OVERLAPPED ov;
|
||||||
|
|
||||||
PBYTE Buffer;
|
PBYTE Buffer = NULL ;
|
||||||
DWORD Start;
|
DWORD Start;
|
||||||
DWORD dwReturned;
|
DWORD dwReturned;
|
||||||
DWORD dwReadTotal;
|
DWORD dwReadTotal;
|
||||||
|
|
22
rosapps/tests/polytest/Makefile
Normal file
22
rosapps/tests/polytest/Makefile
Normal file
|
@ -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
|
|
@ -35,7 +35,7 @@ static void randbytes(void * p, size_t n)
|
||||||
{
|
{
|
||||||
unsigned char * b;
|
unsigned char * b;
|
||||||
size_t i;
|
size_t i;
|
||||||
int r;
|
int r = rand();
|
||||||
|
|
||||||
b = (unsigned char *)p;
|
b = (unsigned char *)p;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue