diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-09-07 08:44:50 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-09-07 08:44:50 +0200 |
commit | 703e5e1a088820d3a2d6d50281e761a99e35c6d8 (patch) | |
tree | e46f84bf6f08e4576381b3864d4b2178473708fc /tests/modules/libcommon/Makefile.W32 | |
parent | 374c902e272f06833cfc67e3b8bd86cc7ae7cd3c (diff) | |
download | crawler-703e5e1a088820d3a2d6d50281e761a99e35c6d8.tar.gz crawler-703e5e1a088820d3a2d6d50281e761a99e35c6d8.tar.bz2 |
fixed all tests and rewrote module test
Diffstat (limited to 'tests/modules/libcommon/Makefile.W32')
-rwxr-xr-x | tests/modules/libcommon/Makefile.W32 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/modules/libcommon/Makefile.W32 b/tests/modules/libcommon/Makefile.W32 new file mode 100755 index 0000000..3dc28b6 --- /dev/null +++ b/tests/modules/libcommon/Makefile.W32 @@ -0,0 +1,40 @@ +TOPDIR = ..\.. + +SUBDIRS = testmod testmod2 testmod3 + +!INCLUDE $(TOPDIR)\makefiles\nmake\platform.mk + +INCLUDE_CXXFLAGS = \ + /D_WIN32_WINNT=0x504 \ + /DBUILDING_CRAWLER /DBUILDING_UTIL + +INCLUDE_DIRS = \ + /I. \ + /I$(TOPDIR)\src + +INCLUDE_LDFLAGS = \ + +INCLUDE_LIBS = \ + $(TOPDIR)\src\crawler.lib + +OBJS = + +!INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk + +test1.exe: test1.obj +test2.exe: test2.obj +test3.exe: test3.obj + +# must build test2.lib first becase it contains DDL exports for the +# Common singleton +local_all: test2.exe + +local_clean: + @-erase -f *.RES *.DIFF *.ERR 2>NUL + +local_distclean: + +local_test: + @-exec_test test1 "Module loader" + @-exec_test test2 "Module loader with singleton" + @-exec_test test3 "Load module in module" |