mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Teach testrunner how to run local binaries which have a .exe extension. Also teach it to recognized mingw environments (but actually building the test programs there currently doesn't work).
FossilOrigin-Name: e2bd23f251359e7a818c4cfacf114aa9fd8c0a9a1cb802654e96fad67b505508
This commit is contained in:
@ -30,8 +30,8 @@ proc find_interpreter {} {
|
||||
&& [file executable ./testfixture]
|
||||
} {
|
||||
puts "Failed to find tcl package sqlite3. Restarting with ./testfixture.."
|
||||
set status [catch {
|
||||
exec ./testfixture [info script] {*}$::argv >@ stdout
|
||||
set status [catch {
|
||||
exec [trd_get_bin_name testfixture] [info script] {*}$::argv >@ stdout
|
||||
} msg]
|
||||
exit $status
|
||||
}
|
||||
@ -237,7 +237,7 @@ switch -nocase -glob -- $tcl_platform(os) {
|
||||
set TRG(run) run.sh
|
||||
set TRG(runcmd) "bash run.sh"
|
||||
}
|
||||
*linux* - MSYS_NT* {
|
||||
*linux* - MSYS_NT* - MINGW64_NT* - MINGW32_NT* {
|
||||
set TRG(platform) linux
|
||||
set TRG(make) make.sh
|
||||
set TRG(makecmd) "bash make.sh"
|
||||
|
Reference in New Issue
Block a user