Regression-test enable win32k; patch by Casper Hornstrup

svn path=/trunk/; revision=9362
This commit is contained in:
Jason Filby 2004-05-13 19:31:09 +00:00
parent 6dac2c7d87
commit 58f0550e7b
5 changed files with 37 additions and 2 deletions

View file

@ -16,11 +16,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: dllmain.c,v 1.72 2004/05/10 17:07:17 weiden Exp $
/* $Id: dllmain.c,v 1.73 2004/05/13 19:29:47 jfilby Exp $
*
* Entry Point for win32k.sys
*/
#include <w32k.h>
#include <roscfg.h>
#ifdef __USE_W32API
typedef NTSTATUS (STDCALL *PW32_PROCESS_CALLBACK)(
@ -305,6 +306,8 @@ DllMain (
/* Create stock objects, ie. precreated objects commonly
used by win32 applications */
CreateStockObjects();
PREPARE_TESTS
return STATUS_SUCCESS;
}

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.98 2004/05/10 17:07:18 weiden Exp $
# $Id: makefile,v 1.99 2004/05/13 19:29:47 jfilby Exp $
PATH_TO_TOP = ../..
@ -14,6 +14,8 @@ TARGET_PCH = w32k.h
TARGET_DDKLIBS = freetype.a
TARGET_REGTESTS = yes
FREETYPE_DIR = $(PATH_TO_TOP)/lib/freetype
include $(PATH_TO_TOP)/config

View file

@ -0,0 +1,7 @@
_regtests.c
_rtstub.c
Makefile.tests
*.d
*.o
*.a

View file

@ -0,0 +1,20 @@
PATH_TO_TOP = ../../..
TARGET_TYPE = library
TARGET_NAME = regtests
TARGET_LIBPATH = .
TARGET_CFLAGS = -I$(REGTESTS_PATH_INC)
-include Makefile.tests
TARGET_OBJECTS = \
_regtests.o \
$(addprefix tests/, $(TESTS))
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk

View file

@ -0,0 +1,3 @@
*.d
*.o