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

Fix the permutations.test script so that it works again.

FossilOrigin-Name: 9f194f90c07d5415b1d6bb10ec049f74999d6885
This commit is contained in:
drh
2016-03-14 21:26:25 +00:00
parent 10ac13ae3b
commit a580936383
3 changed files with 9 additions and 10 deletions

View File

@ -1068,12 +1068,12 @@ proc help {} {
exit -1
}
if {[info script] == $argv0} {
if {[file tail $argv0] == "permutations.test"} {
proc main {argv} {
if {[llength $argv]==0} {
help
} else {
set suite [lindex $argv 0]
set suite [file tail [lindex $argv 0]]
if {[info exists ::testspec($suite)]==0} help
set extra ""
if {[llength $argv]>1} { set extra [list -files [lrange $argv 1 end]] }