aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordrh <>2025-04-29 14:23:21 +0000
committerdrh <>2025-04-29 14:23:21 +0000
commit2ba946b3417d6ca6130fc885849c4c8831ab852b (patch)
tree574a2d96c5157073b32a1ad3a1b9046a2b35b12d /test
parent873fc5dff2a781251f2c9bd2c791a5fac45b7a2b (diff)
downloadsqlite-2ba946b3417d6ca6130fc885849c4c8831ab852b.tar.gz
sqlite-2ba946b3417d6ca6130fc885849c4c8831ab852b.zip
Add the "--fuzzdb FILENAME" to testrunner.tcl as an alternative to setting
the FUZZDB environment variable (as that can be awkward to do on Windows). Further improvements to the testrunner.tcl documentation. FossilOrigin-Name: 6fb84156a262ff89d1a2d1df6fbfac4c1a43fb55b9d15205508662e2c9b0894f
Diffstat (limited to 'test')
-rwxr-xr-xtest/testrunner.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testrunner.tcl b/test/testrunner.tcl
index a2896fd08..0c6982f42 100755
--- a/test/testrunner.tcl
+++ b/test/testrunner.tcl
@@ -98,6 +98,7 @@ Usage:
--config CONFIGS Only use configs on comma-separate list CONFIGS
--dryrun Write what would have happened to testrunner.log
--explain Write summary to stdout
+ --fuzzdb FILENAME Additional external fuzzcheck database
--jobs NUM Run tests using NUM separate processes
--omit CONFIGS Omit configs on comma-separated list CONFIGS
--status Show the full "status" report while running
@@ -811,6 +812,9 @@ for {set ii 0} {$ii < [llength $argv]} {incr ii} {
} elseif {($n>2 && [string match "$a*" --omit]) || $a=="-c"} {
incr ii
set TRG(omitconfig) [lindex $argv $ii]
+ } elseif {($n>2 && [string match "$a*" --fuzzdb])} {
+ incr ii
+ set env(FUZZDB) [lindex $argv $ii]
} elseif {[string match "$a*" --stop-on-error]} {
set TRG(stopOnError) 1
} elseif {[string match "$a*" --stop-on-coredump]} {