/ Check-in [46c97d7e]
Login

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

Overview
Comment:Exclude all WAL tests from the journaltest permutation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 46c97d7eee9359cd21139a6520633f5d16594ab0
User & Date: drh 2010-05-06 19:55:57
Context
2010-05-06
20:19
Make sure to do a clean shutdown of the library upon existing the shell in order to remove WAL files. check-in: c1762dda user: drh tags: trunk
19:55
Exclude all WAL tests from the journaltest permutation. check-in: 46c97d7e user: drh tags: trunk
19:20
Changes to support SQLITE_OMIT_WAL. check-in: 32a8501d user: shaneh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/permutations.test.

    77     77   }
    78     78   set ALLTESTS [list]
    79     79   foreach filename [glob $testdir/*.test] {
    80     80     set filename [file tail $filename]
    81     81     if {[lsearch $EXCLUDE $filename] < 0} { lappend ALLTESTS $filename }
    82     82   }
    83     83   set ALLTESTS [lsort $ALLTESTS]
           84  +set WALTESTS [list]
           85  +foreach filename $ALLTESTS {
           86  +  if {![regexp {^wal} $filename]} {lappend WALTESTS $filename}
           87  +}
    84     88   
    85     89   rename finish_test really_finish_test2
    86     90   proc finish_test {} {}
    87     91   
    88     92   rename do_test really_do_test
    89     93   
    90     94   proc do_test {name args} {
................................................................................
   729    733     catch {db close}
   730    734     register_jt_vfs -default ""
   731    735     #sqlite3_instvfs binarylog -default binarylog ostrace.bin
   732    736   } -shutdown {
   733    737     #sqlite3_instvfs destroy binarylog
   734    738     unregister_jt_vfs
   735    739   } -include [concat $::ALLTESTS savepoint6.test
   736         -] -exclude {
          740  +] -exclude [concat $::WALTESTS {
   737    741     incrvacuum.test
   738    742     ioerr.test
   739    743     corrupt4.test 
   740    744     io.test 
   741    745     crash8.test 
   742    746     async4.test 
   743    747     bigfile.test
   744         -}
          748  +}]
   745    749   
   746    750   if {[info commands register_demovfs] != ""} {
   747    751     run_tests "demovfs" -description {
   748    752       Check that pages are synced before being written (test_journal.c).
   749    753     } -initialize {
   750    754       register_demovfs
   751    755     } -shutdown {