aboutsummaryrefslogtreecommitdiff
path: root/test/analyzer1.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/analyzer1.test')
-rw-r--r--test/analyzer1.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/analyzer1.test b/test/analyzer1.test
index ac46704fb..51b5f8b6a 100644
--- a/test/analyzer1.test
+++ b/test/analyzer1.test
@@ -25,9 +25,12 @@ if {$tcl_platform(platform)=="windows"} {
set PROG "./sqlite3_analyzer"
}
if {![file exe $PROG]} {
- puts "analyzer1 cannot run because $PROG is not available"
- finish_test
- return
+ set PROG [file normalize [file join $::cmdlinearg(TESTFIXTURE_HOME) $PROG]]
+ if {![file exe $PROG]} {
+ puts "analyzer1 cannot run because $PROG is not available"
+ finish_test
+ return
+ }
}
db close
forcedelete test.db test.db-journal test.db-wal