From 8ef24b8debb430e0f22d65ffeba018e576be4ee6 Mon Sep 17 00:00:00 2001 From: drh Date: Mon, 1 Aug 2016 15:00:00 +0000 Subject: [PATCH] Update releasetest.tcl to automatically do one round of tests with USE_STDCALL=1 when running on Windows with MSVC. FossilOrigin-Name: a6a112de485eb9d15f6fa75568dcb876f00abb64 --- manifest | 12 ++++++------ manifest.uuid | 2 +- test/releasetest.tcl | 9 +++++++++ 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/manifest b/manifest index 76e84155ee..67dc23aac2 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Avoid\smaking\sunnecessary\schanges\sto\sthe\ssignatures\sof\sthe\nsqlite3_auto_extension()\sand\ssqlite3_cancel_auto_extension()\sinterfaces. -D 2016-08-01T14:35:48.519 +C Update\sreleasetest.tcl\sto\sautomatically\sdo\sone\sround\sof\stests\swith\nUSE_STDCALL=1\swhen\srunning\son\sWindows\swith\sMSVC. +D 2016-08-01T15:00:00.879 F Makefile.in 6c20d44f72d4564f11652b26291a214c8367e5db F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434 F Makefile.msc 3340e479e5221f06c3d61726f8f7efff885e4233 @@ -1010,7 +1010,7 @@ F test/rdonly.test 64e2696c322e3538df0b1ed624e21f9a23ed9ff8 F test/regexp1.test 497ea812f264d12b6198d6e50a76be4a1973a9d8 F test/regexp2.test aa7ffcc21350007a78361b82bcf3b74d12227144 F test/reindex.test 44edd3966b474468b823d481eafef0c305022254 -F test/releasetest.tcl 3a66c7b8fbe55bcd97c907217c3d812d1d3c6b93 +F test/releasetest.tcl 53560b838b79c468ec9973e0dfa3d8892628887f F test/resolver01.test f4022acafda7f4d40eca94dbf16bc5fc4ac30ceb F test/rollback.test 458fe73eb3ffdfdf9f6ba3e9b7350a6220414dea F test/rollback2.test 8435d6ff0f13f51d2a4181c232e706005fa90fc5 @@ -1508,7 +1508,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P 390a38a142d36d2c57b3f21aab72edcde450125d -R 65e7d16d0e1a0cbde00eb39308479bd3 +P b6ea2f21f602031ef4dbd47462ac11b0bb0d5de6 +R 8c53f29684f1c5a6b809ef407293ad87 U drh -Z ed98f4241335140747349246aea331ad +Z efd5176c6b70600d1d70a952504ac1b9 diff --git a/manifest.uuid b/manifest.uuid index 6b01792124..45a5d2cc7d 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -b6ea2f21f602031ef4dbd47462ac11b0bb0d5de6 \ No newline at end of file +a6a112de485eb9d15f6fa75568dcb876f00abb64 \ No newline at end of file diff --git a/test/releasetest.tcl b/test/releasetest.tcl index e13a3d7340..f670c8bef4 100644 --- a/test/releasetest.tcl +++ b/test/releasetest.tcl @@ -58,6 +58,10 @@ array set ::Configs [strip_comments { -DSQLITE_ENABLE_STAT4 --enable-session } + "Stdcall" { + -DUSE_STDCALL=1 + -O2 + } "Have-Not" { # The "Have-Not" configuration sets all possible -UHAVE_feature options # in order to verify that the code works even on platforms that lack @@ -298,10 +302,12 @@ array set ::Platforms [strip_comments { "Apple" "threadtest fulltest" } "Windows NT-intel" { + "Stdcall" test "Have-Not" test "Default" "mptest fulltestonly" } "Windows NT-amd64" { + "Stdcall" test "Have-Not" test "Default" "mptest fulltestonly" } @@ -725,6 +731,9 @@ proc makeCommand { targets makeOpts cflags opts } { set nmakeDir [file nativename $::SRCDIR] set nmakeFile [file nativename [file join $nmakeDir Makefile.msc]] lappend result nmake /f $nmakeFile TOP=$nmakeDir + if {[regexp {USE_STDCALL=1} $cflags]} { + lappend result USE_STDCALL=1 + } } else { lappend result make }