1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix test scripts sqldiff.test and rbudiff.test so that they work with the --testdir option.

FossilOrigin-Name: 1ffe3cde03f924bb8405a8729c8e1bc01f5b6d3b
This commit is contained in:
dan
2016-03-19 14:53:36 +00:00
parent bb9b5f2608
commit 1e8dae0e43
5 changed files with 33 additions and 37 deletions

View File

@ -14,16 +14,8 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
if {$tcl_platform(platform)=="windows"} {
set PROG "sqldiff.exe"
} else {
set PROG "./sqldiff"
}
if {![file exe $PROG]} {
puts "sqldiff cannot run because $PROG is not available"
finish_test
return
}
set PROG [test_find_sqldiff]
db close
forcedelete test.db test2.db
sqlite3 db test.db