/ 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 Unified Diffs Ignore Whitespace Patch

Changes to test/releasetest.tcl.

229
230
231
232
233
234
235

236
237
238
239
240
241
242
243
244
...
245
246
247
248
249
250
251

252
253
254
255
256
257
258
259
260
261
    append opts " -DSQLITE_OS_WIN=1"
  } else {
    append opts " -DSQLITE_OS_UNIX=1"
  }

  dryrun file mkdir $dir
  if {!$::DRYRUN} {

    set n [string length $name]
    puts -nonewline "${name}[string repeat . [expr {40-$n}]]"
    flush stdout
  }

  set tm1 [clock seconds]
  set origdir [pwd]
  dryrun cd $dir
  set rc [catch [configureCommand]]
................................................................................
  if {!$rc} {
    set rc [catch [makeCommand $testtarget $cflags $opts]]
  }
  set tm2 [clock seconds]
  dryrun cd $origdir

  if {!$::DRYRUN} {

    set minutes [expr {($tm2-$tm1)/60}]
    set seconds [expr {($tm2-$tm1)%60}]
    set tm [format (%02d:%02d) $minutes $seconds]
    if {$rc} {
      puts " FAIL $tm"
      incr ::NERR
    } else {
      puts " Ok   $tm"
    }
  }







>
|
|







 







>
|

|







229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
...
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
    append opts " -DSQLITE_OS_WIN=1"
  } else {
    append opts " -DSQLITE_OS_UNIX=1"
  }

  dryrun file mkdir $dir
  if {!$::DRYRUN} {
    set title ${name}($testtarget)
    set n [string length $title]
    puts -nonewline "${title}[string repeat . [expr {54-$n}]]"
    flush stdout
  }

  set tm1 [clock seconds]
  set origdir [pwd]
  dryrun cd $dir
  set rc [catch [configureCommand]]
................................................................................
  if {!$rc} {
    set rc [catch [makeCommand $testtarget $cflags $opts]]
  }
  set tm2 [clock seconds]
  dryrun cd $origdir

  if {!$::DRYRUN} {
    set hours [expr {($tm2-$tm2)/3600}]
    set minutes [expr {(($tm2-$tm1)/60)%60}]
    set seconds [expr {($tm2-$tm1)%60}]
    set tm [format (%02d:%02d:%02d) $hours $minutes $seconds]
    if {$rc} {
      puts " FAIL $tm"
      incr ::NERR
    } else {
      puts " Ok   $tm"
    }
  }