/ Check-in [2295e9e0]
Login

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

Overview
Comment:In the releasetest.tcl script, show the test target for each configuration that is run. And show the time in HH:MM:SS.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | releasetest-refactor
Files: files | file ages | folders
SHA1:2295e9e0a22220ccb1b9cc2b031c1d8e702a1888
User & Date: drh 2014-12-23 20:41:13
Context
2014-12-23
21:03
Fix typo in library object file name. check-in: f49566a7 user: mistachkin tags: releasetest-refactor
20:41
In the releasetest.tcl script, show the test target for each configuration that is run. And show the time in HH:MM:SS. check-in: 2295e9e0 user: drh tags: releasetest-refactor
20:31
Add the threadtest target to Makefile.in. Add --enable-load-extension to the configure issued by releasetest.tcl. check-in: cb128067 user: drh tags: releasetest-refactor
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/releasetest.tcl.

   229    229       append opts " -DSQLITE_OS_WIN=1"
   230    230     } else {
   231    231       append opts " -DSQLITE_OS_UNIX=1"
   232    232     }
   233    233   
   234    234     dryrun file mkdir $dir
   235    235     if {!$::DRYRUN} {
   236         -    set n [string length $name]
   237         -    puts -nonewline "${name}[string repeat . [expr {40-$n}]]"
          236  +    set title ${name}($testtarget)
          237  +    set n [string length $title]
          238  +    puts -nonewline "${title}[string repeat . [expr {54-$n}]]"
   238    239       flush stdout
   239    240     }
   240    241   
   241    242     set tm1 [clock seconds]
   242    243     set origdir [pwd]
   243    244     dryrun cd $dir
   244    245     set rc [catch [configureCommand]]
................................................................................
   245    246     if {!$rc} {
   246    247       set rc [catch [makeCommand $testtarget $cflags $opts]]
   247    248     }
   248    249     set tm2 [clock seconds]
   249    250     dryrun cd $origdir
   250    251   
   251    252     if {!$::DRYRUN} {
   252         -    set minutes [expr {($tm2-$tm1)/60}]
          253  +    set hours [expr {($tm2-$tm2)/3600}]
          254  +    set minutes [expr {(($tm2-$tm1)/60)%60}]
   253    255       set seconds [expr {($tm2-$tm1)%60}]
   254         -    set tm [format (%02d:%02d) $minutes $seconds]
          256  +    set tm [format (%02d:%02d:%02d) $hours $minutes $seconds]
   255    257       if {$rc} {
   256    258         puts " FAIL $tm"
   257    259         incr ::NERR
   258    260       } else {
   259    261         puts " Ok   $tm"
   260    262       }
   261    263     }