aboutsummaryrefslogtreecommitdiff
path: root/test/testrunner.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'test/testrunner.tcl')
-rwxr-xr-xtest/testrunner.tcl9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/testrunner.tcl b/test/testrunner.tcl
index d365092e0..6ff414c4b 100755
--- a/test/testrunner.tcl
+++ b/test/testrunner.tcl
@@ -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* {
+ *linux* - MSYS_NT* - MINGW64_NT* - MINGW32_NT* {
set TRG(platform) linux
set TRG(make) make.sh
set TRG(makecmd) "bash make.sh"
@@ -265,9 +265,10 @@ switch -nocase -glob -- $tcl_platform(os) {
set TRG(runcmd) "run.bat"
}
default {
+ puts "tcl_platform(os)=$::tcl_platform(os)"
error "cannot determine platform!"
}
-}
+}
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------