mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
On testrunner.tcl: (1) Add the "help" command. (2) Add the "script" command
to the help message. (3) Improve the error message generated by "script" when an incorrect CONFIG option is provided. FossilOrigin-Name: 1b7f0be44036fb90d763eabae84b95734e766f8010b39122f8787189308a7fc1
This commit is contained in:
@ -598,7 +598,12 @@ proc trd_buildscript {config srcdir bMsvc} {
|
||||
|
||||
# Ensure that the named configuration exists.
|
||||
if {![info exists build($config)]} {
|
||||
error "No such build config: $config"
|
||||
if {$config!="help"} {
|
||||
puts "No such build config: $config"
|
||||
}
|
||||
puts "Available configurations: [lsort [array names build]]"
|
||||
flush stdout
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Generate and return the script.
|
||||
@ -637,4 +642,3 @@ proc trd_test_script_properties {path} {
|
||||
|
||||
set trd_test_script_properties_cache($path)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user