mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Update releasetest.tcl to automatically do one round of tests with
USE_STDCALL=1 when running on Windows with MSVC. FossilOrigin-Name: a6a112de485eb9d15f6fa75568dcb876f00abb64
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user