/ Check-in [2be1ed70]
Login

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

Overview
Comment:Fix a case in wapptest.tcl where a failed test might report 0 errors.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2be1ed70df605663822d1afdde757f426ccf2ee38add8dc6b6bb4fc4d90a31dc
User & Date: dan 2019-05-01 17:32:36
Context
2019-05-01
17:36
Fix an incompatibility with -DSQLITE_OMIT_LOAD_EXTENSION=1 in dbdata.test. check-in: a77cd85b user: dan tags: trunk
17:32
Fix a case in wapptest.tcl where a failed test might report 0 errors. check-in: 2be1ed70 user: dan tags: trunk
15:32
Avoid unwelcomed side effects on the input operands in the OP_Concat operator. Fix for ticket [3be1295b264be2fac49b681] check-in: 713caa38 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/wapptest.tcl.

   218    218     # the executables and test logs. And any core file that is present.
   219    219     if {$G(keep)==0} {
   220    220       set keeplist {
   221    221         testfixture testfixture.exe
   222    222         sqlite3 sqlite3.exe
   223    223         test.log test-out.txt
   224    224         core
          225  +      wapptest_make.sh
          226  +      wapptest_configure.sh
          227  +      wapptest_run.tcl
   225    228       }
   226    229       foreach f [glob -nocomplain [file join $G(test.$name.dir) *]] {
   227    230         set t [file tail $f]
   228    231         if {[lsearch $keeplist $t]<0} {
   229    232           catch { file delete -force $f }
   230    233         }
   231    234       }
................................................................................
   273    276   
   274    277     if {$G(msvc)==0} { 
   275    278       append res {
   276    279         set cfg  [readfile wapptest_configure.sh]
   277    280         set rc [catch { exec {*}$cfg >& test.log } msg]
   278    281         if {$rc==0} {
   279    282           set make [readfile wapptest_make.sh]
   280         -        catch { exec {*}$make >>& test.log }
          283  +        set rc [catch { exec {*}$make >>& test.log }]
   281    284         }
   282    285       } 
   283    286     } else { 
   284    287       append res {
   285    288         set make [readfile wapptest_make.sh]
   286         -      catch { exec {*}$make >>& test.log }
          289  +      set rc [catch { exec {*}$make >>& test.log }]
   287    290       }
   288    291     }
          292  +
          293  +  append res { exit $rc }
   289    294   
   290    295     set res
   291    296   }
   292    297   
   293    298   
   294    299   # Launch a slave process to run a test.
   295    300   #