aboutsummaryrefslogtreecommitdiff
path: root/test/tester.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'test/tester.tcl')
-rw-r--r--test/tester.tcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tester.tcl b/test/tester.tcl
index b5f49ebde..079255761 100644
--- a/test/tester.tcl
+++ b/test/tester.tcl
@@ -1776,6 +1776,11 @@ proc crashsql {args} {
# cfSync(), which can be different then what TCL uses by
# default, so here we force it to the "nativename" format.
set cfile [string map {\\ \\\\} [file nativename [file join [get_pwd] $crashfile]]]
+ ifcapable winrt {
+ # Except on winrt. Winrt has no way to transform a relative path into
+ # an absolute one, so it just uses the relative paths.
+ set cfile $crashfile
+ }
set f [open crash.tcl w]
puts $f "sqlite3_initialize ; sqlite3_shutdown"