mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Avoid running test cases involving ANSI control characters or Unicode
on Windows in a slave interpreter, as that combination does not work. FossilOrigin-Name: f6745a7355c62ee64c08e23b795f437dd74add903b55e1255c1d03f9a811170d
This commit is contained in:
@ -809,6 +809,15 @@ proc do_test {name cmd expected} {
|
||||
flush stdout
|
||||
}
|
||||
|
||||
# Like do_test except the test is not run in a slave interpreter
|
||||
# on Windows because of issues with ANSI and UTF8 I/O on Win11.
|
||||
#
|
||||
proc do_test_with_ansi_output {name cmd expected} {
|
||||
if {![info exists ::SLAVE] || $::tcl_platform(platform)!="windows"} {
|
||||
uplevel 1 [list do_test $name $cmd $expected]
|
||||
}
|
||||
}
|
||||
|
||||
proc dumpbytes {s} {
|
||||
set r ""
|
||||
for {set i 0} {$i < [string length $s]} {incr i} {
|
||||
|
Reference in New Issue
Block a user