In releasetest.tcl, the --srcdir option is automatic, so no need to mention

it in the --help output.

FossilOrigin-Name: 2bdd838e2c434f1d26b1836ef39fa938ef93131d
This commit is contained in:
drh 2016-09-09 13:23:36 +00:00
parent 2c33183d11
commit fe3765828a
3 changed files with 13 additions and 11 deletions

View File

@ -1,5 +1,5 @@
C Fix\san\sobsolete\scomment\sin\sthe\sreleasetest.tcl\ssource\scode.
D 2016-09-09T13:17:26.104
C In\sreleasetest.tcl,\sthe\s--srcdir\soption\sis\sautomatic,\sso\sno\sneed\sto\smention\nit\sin\sthe\s--help\soutput.
D 2016-09-09T13:23:36.137
F Makefile.in cfd8fb987cd7a6af046daa87daa146d5aad0e088
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc 5017381e4853b1472e01d5bb926be1268eba429c
@ -1013,7 +1013,7 @@ F test/rdonly.test 64e2696c322e3538df0b1ed624e21f9a23ed9ff8
F test/regexp1.test 497ea812f264d12b6198d6e50a76be4a1973a9d8
F test/regexp2.test aa7ffcc21350007a78361b82bcf3b74d12227144
F test/reindex.test 44edd3966b474468b823d481eafef0c305022254
F test/releasetest.tcl 46e73e306efd6bc1739efead3583ea0e2003f4d9
F test/releasetest.tcl ce72fb81a76beb81dab4d83e20ada2d68a078361 x
F test/resolver01.test f4022acafda7f4d40eca94dbf16bc5fc4ac30ceb
F test/rollback.test 458fe73eb3ffdfdf9f6ba3e9b7350a6220414dea
F test/rollback2.test 8435d6ff0f13f51d2a4181c232e706005fa90fc5
@ -1523,7 +1523,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 9a14e6c46cdda9f10151ee96a0540798573edcf2
R 7940b5c2f77005fa33fade550bc3d89e
P afaaa276b256f56adf63cb568e486cb3315c3ec2
R d307f78f7d85e383c9266a539201664c
U drh
Z 45010a2c3dad5e8a3c02935127df2fd0
Z 810b7b5c52fdba9d6e7019ea79310fb8

View File

@ -1 +1 @@
afaaa276b256f56adf63cb568e486cb3315c3ec2
2bdd838e2c434f1d26b1836ef39fa938ef93131d

10
test/releasetest.tcl Normal file → Executable file
View File

@ -19,13 +19,9 @@ optional) are:
--platform PLATFORM (see below)
--progress (Show progress messages)
--quick (Run "veryquick.test" only)
--srcdir TOP-OF-SQLITE-TREE (see below)
--veryquick (Run "make smoketest" only)
--with-tcl=DIR (Use TCL build at DIR)
The default value for --srcdir is the parent of the directory holding
this script.
The script determines the default value for --platform using the
$tcl_platform(os) and $tcl_platform(machine) variables. Supported
platforms are "Linux-x86", "Linux-x86_64", "Darwin-i386",
@ -792,6 +788,12 @@ proc process_options {argv} {
exit
}
# Undocumented legacy option: --srcdir DIRECTORY
#
# DIRECTORY is the root of the SQLite checkout. This sets the
# SRCDIR global variable. But that variable is already set
# automatically so there really is no reason to have this option.
#
-srcdir {
incr i
set ::SRCDIR [file normalize [lindex $argv $i]]