1
0
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:
stephan
2025-03-11 11:24:52 +00:00
parent e0fa42053f
commit 1fc7844d40
3 changed files with 18 additions and 7 deletions

View File

@ -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)"