mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Teach testrunner.tcl to distinguish Cygwin from Windows. This gets it running but then all downstream tests fail, at least in part because of the build target name discrepancies between the platform which requires .exe and those which do not.
FossilOrigin-Name: 2861788e479aea12354f2d34d8e6a2706d193642674ef1f4f852f24c877e0140
This commit is contained in:
@ -263,6 +263,17 @@ switch -nocase -glob -- $tcl_platform(os) {
|
||||
set TRG(shell) sqlite3.exe
|
||||
set TRG(run) run.bat
|
||||
set TRG(runcmd) "run.bat"
|
||||
if {"unix" eq $tcl_platform(platform)} {
|
||||
# Presumably cygwin. This block gets testrunner.tcl started on
|
||||
# Cygwin but then downstream tests all fail, at least in part
|
||||
# because of the discrepancies in build target names which need
|
||||
# .exe on cygwin but not on other Unix-like platforms.
|
||||
set TRG(platform) cygwin
|
||||
set TRG(make) make.sh
|
||||
set TRG(makecmd) "bash make.sh"
|
||||
set TRG(run) run.sh
|
||||
set TRG(runcmd) "bash run.sh"
|
||||
}
|
||||
}
|
||||
default {
|
||||
puts "tcl_platform(os)=$::tcl_platform(os)"
|
||||
|
Reference in New Issue
Block a user