mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Add doc/testrunner.md, for documenting the testrunner.tcl script.
FossilOrigin-Name: 9c69a28401c7273823f2c2b291fd417febeb278afb9ce085a4b944505ca13d23
This commit is contained in:
@ -651,11 +651,14 @@ proc r_get_next_job {iJob} {
|
||||
proc make_new_testset {} {
|
||||
global TRG
|
||||
|
||||
set tests [testset_patternlist $TRG(patternlist)]
|
||||
|
||||
set tests [list]
|
||||
if {$TRG(zipvfs)!=""} {
|
||||
source [file join $TRG(zipvfs) test zipvfs_testrunner.tcl]
|
||||
set tests [concat $tests [zipvfs_testrunner_testset]]
|
||||
lappend tests {*}[zipvfs_testrunner_testset]
|
||||
}
|
||||
|
||||
if {$tests=="" || $TRG(patternlist)!=""} {
|
||||
lappend tests {*}[testset_patternlist $TRG(patternlist)]
|
||||
}
|
||||
|
||||
r_write_db {
|
||||
@ -960,7 +963,7 @@ sqlite3 trdb $TRG(dbname)
|
||||
trdb timeout $TRG(timeout)
|
||||
set tm [lindex [time { make_new_testset }] 0]
|
||||
if {$TRG(nJob)>1} {
|
||||
puts "splitting work across $TRG(nJob) cores"
|
||||
puts "splitting work across $TRG(nJob) jobs"
|
||||
}
|
||||
puts "built testset in [expr $tm/1000]ms.."
|
||||
run_testset
|
||||
|
Reference in New Issue
Block a user