diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-02-13 09:56:58 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-02-13 09:56:58 +0100 |
commit | 68354c7d41085d1f976a5b1d7ee542479a85f621 (patch) | |
tree | aec761c793093e4a2e4ce18d78b3b531bcb12a42 /tests/Makefile.W32 | |
download | sqlitexx-68354c7d41085d1f976a5b1d7ee542479a85f621.tar.gz sqlitexx-68354c7d41085d1f976a5b1d7ee542479a85f621.tar.bz2 |
imported trunk from sourceforge SVN
Diffstat (limited to 'tests/Makefile.W32')
-rw-r--r-- | tests/Makefile.W32 | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/tests/Makefile.W32 b/tests/Makefile.W32 new file mode 100644 index 0000000..45dbccc --- /dev/null +++ b/tests/Makefile.W32 @@ -0,0 +1,64 @@ +TOPDIR = .. + +SUBDIRS = + +INCLUDE_DIRS = \ + /I$(TOPDIR)\include /I. \ + /I$(TOPDIR)\sqlite-3.6.22 \ + /D_WIN32_WINNT=0x400 /I"$(PLATFORM_SDK_DIR)\Include" + +INCLUDE_LDFLAGS = \ + /LIBPATH:"$(PLATFORM_SDK_DIR)\lib" + +INCLUDE_LIBS = \ + $(TOPDIR)\src\sqlite3xx.lib \ + $(TOPDIR)\sqlite-3.6.22\sqlite3.lib + +TEST_CPP_BINS = \ + test1.exe \ + test2.exe \ + test3.exe \ + test4.exe \ + test5.exe \ + test6.exe \ + test7.exe \ + test8.exe + +TEST_BINS = \ + testc.exe + +!INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk + +# temporary +testc.exe: testc.obj +test1.exe: test1.obj +test2.exe: test2.obj +test3.exe: test3.obj +test4.exe: test4.obj +test5.exe: test5.obj +test6.exe: test6.obj +test7.exe: test7.obj +test8.exe: test8.obj + +local_all: + +local_clean: + @-erase *.db *.db-journal 2>NUL + @-erase *.RES *.DIFF 2>NUL + +local_distclean: + +# disabled tests +#-@./exec_test test6 "STL iterators" "$(PLATFORM)" "$(LINUX_DIST)" "$(LINUX_REV)" +#-@./exec_test test7 "tracing" "$(PLATFORM)" "$(LINUX_DIST)" "$(LINUX_REV)" + +# create the must files with ./test2 | sed 's/\(time:[^\)]*\)//g' > test2.MUST +# to eliminate the execution time.. +local_test: $(CPP_BINS) $(BINS) + @exec_test.cmd testc "test plain old C API" "$(PLATFORM)" "$(LINUX_DIST)" "$(LINUX_REV)" + @exec_test.cmd test1 "create and close database" "$(PLATFORM)" "$(LINUX_DIST)" "$(LINUX_REV)" + @exec_test.cmd test2 "create simple table, insert some data, query it" "$(PLATFORM)" "$(LINUX_DIST)" "$(LINUX_REV)" + @exec_test.cmd test3 "prepared statements with parameter binding" "$(PLATFORM)" "$(LINUX_DIST)" "$(LINUX_REV)" + @exec_test.cmd test4 "type conversion of bind parameters" "$(PLATFORM)" "$(LINUX_DIST)" "$(LINUX_REV)" + @exec_test.cmd test5 "PRAGMAs outside a transaction" "$(PLATFORM)" "$(LINUX_DIST)" "$(LINUX_REV)" + @exec_test.cmd test8 "ticket #14: to conversion fails with SQLITE_NULL" "$(PLATFORM)" "$(LINUX_DIST)" "$(LINUX_REV)" |