/ Check-in [9f194f90]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix the permutations.test script so that it works again.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9f194f90c07d5415b1d6bb10ec049f74999d6885
User & Date: drh 2016-03-14 21:26:25
Context
2016-03-15
09:55
Fix the shellN.test test scripts so that they work with the --testdir option. check-in: 051c61eb user: dan tags: trunk
09:42
Update this branch with latest trunk changes. check-in: 249cd361 user: dan tags: schemalint
2016-03-14
21:26
Fix the permutations.test script so that it works again. check-in: 9f194f90 user: drh tags: trunk
21:12
Update test scripts so that they work with SEE. check-in: f4693ba4 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/permutations.test.

  1064   1064         puts "  $d"
  1065   1065         puts ""
  1066   1066       }
  1067   1067     }
  1068   1068     exit -1
  1069   1069   }
  1070   1070   
  1071         -if {[info script] == $argv0} {
         1071  +if {[file tail $argv0] == "permutations.test"} {
  1072   1072     proc main {argv} {
  1073   1073       if {[llength $argv]==0} {
  1074   1074         help
  1075   1075       } else {
  1076         -      set suite [lindex $argv 0]
         1076  +      set suite [file tail [lindex $argv 0]]
  1077   1077         if {[info exists ::testspec($suite)]==0} help
  1078   1078         set extra ""
  1079   1079         if {[llength $argv]>1} { set extra [list -files [lrange $argv 1 end]] }
  1080   1080         eval run_tests $suite $::testspec($suite) $extra
  1081   1081       }
  1082   1082     }
  1083   1083     main $argv
  1084   1084     finish_test
  1085   1085   }