tests: rename tests scripts to the test number
It is hard to name the scripts sensibly. Lots of them are similarly named and the name did not tell which test that used them. The new approach is rather to name them based on the test number that runs them. Also helps us see which scripts are for individual tests rather than for general test infra. - badsymbols.pl -> test1167.pl - check-deprecated.pl -> test1222.pl - check-translatable-options.pl -> test1544.pl - disable-scan.pl -> test1165.pl - error-codes.pl -> test1175.pl - errorcodes.pl -> test1477.pl - extern-scan.pl -> test1135.pl - manpage-scan.pl -> test1139.pl - manpage-syntax.pl -> test1173.pl - markdown-uppercase.pl -> test1275.pl - mem-include-scan.pl -> test1132.pl - nroff-scan.pl -> test1140.pl - option-check.pl -> test1276.pl - options-scan.pl -> test971.pl - symbol-scan.pl -> test1119.pl - version-scan.pl -> test1177.pl Closes #12487
This commit is contained in:
parent
13a1d1ace8
commit
c386065878
@ -22,21 +22,35 @@
|
|||||||
#
|
#
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
HTMLPAGES = testcurl.html runtests.html
|
|
||||||
PDFPAGES = testcurl.pdf runtests.pdf
|
|
||||||
MANDISTPAGES = runtests.1.dist testcurl.1.dist
|
MANDISTPAGES = runtests.1.dist testcurl.1.dist
|
||||||
|
|
||||||
EXTRA_DIST = appveyor.pm azure.pm badsymbols.pl check-deprecated.pl \
|
# scripts used in test cases
|
||||||
CMakeLists.txt devtest.pl dictserver.py directories.pm disable-scan.pl \
|
TESTSCRIPTS = \
|
||||||
error-codes.pl extern-scan.pl FILEFORMAT.md processhelp.pm ftpserver.pl \
|
test1119.pl \
|
||||||
getpart.pm globalconfig.pm http-server.pl http2-server.pl http3-server.pl \
|
test1132.pl \
|
||||||
manpage-scan.pl manpage-syntax.pl markdown-uppercase.pl mem-include-scan.pl \
|
test1135.pl \
|
||||||
memanalyze.pl negtelnetserver.py nroff-scan.pl option-check.pl \
|
test1139.pl \
|
||||||
options-scan.pl pathhelp.pm README.md rtspserver.pl runner.pm runtests.1 \
|
test1140.pl \
|
||||||
runtests.pl secureserver.pl serverhelp.pm servers.pm smbserver.py sshhelp.pm \
|
test1165.pl \
|
||||||
sshserver.pl stunnel.pem symbol-scan.pl testcurl.1 testcurl.pl testutil.pm \
|
test1167.pl \
|
||||||
tftpserver.pl util.py valgrind.pm valgrind.supp version-scan.pl \
|
test1173.pl \
|
||||||
check-translatable-options.pl errorcodes.pl
|
test1175.pl \
|
||||||
|
test1177.pl \
|
||||||
|
test1222.pl \
|
||||||
|
test1275.pl \
|
||||||
|
test1276.pl \
|
||||||
|
test1477.pl \
|
||||||
|
test1544.pl \
|
||||||
|
test971.pl
|
||||||
|
|
||||||
|
EXTRA_DIST = appveyor.pm azure.pm CMakeLists.txt devtest.pl \
|
||||||
|
dictserver.py directories.pm FILEFORMAT.md processhelp.pm ftpserver.pl \
|
||||||
|
getpart.pm globalconfig.pm http-server.pl http2-server.pl \
|
||||||
|
http3-server.pl memanalyze.pl negtelnetserver.py pathhelp.pm README.md \
|
||||||
|
rtspserver.pl runner.pm runtests.1 runtests.pl secureserver.pl \
|
||||||
|
serverhelp.pm servers.pm smbserver.py sshhelp.pm sshserver.pl \
|
||||||
|
stunnel.pem testcurl.1 testcurl.pl testutil.pm tftpserver.pl util.py \
|
||||||
|
valgrind.pm valgrind.supp $(TESTSCRIPTS)
|
||||||
|
|
||||||
DISTCLEANFILES = configurehelp.pm
|
DISTCLEANFILES = configurehelp.pm
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ Verify that symbols-in-versions and headers are in sync
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/symbol-scan.pl %SRCDIR/.. ../include/curl
|
%SRCDIR/test1119.pl %SRCDIR/.. ../include/curl
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ Verify memory #include files in libcurl's C source files
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/mem-include-scan.pl %SRCDIR/../lib
|
%SRCDIR/test1132.pl %SRCDIR/../lib
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@ Verify CURL_EXTERN order
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/extern-scan.pl %SRCDIR/..
|
%SRCDIR/test1135.pl %SRCDIR/..
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@ Verify that all libcurl options have man pages
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/manpage-scan.pl %SRCDIR/.. %PWD/..
|
%SRCDIR/test1139.pl %SRCDIR/.. %PWD/..
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@ Verify the nroff of man pages
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/nroff-scan.pl %SRCDIR/../docs/ %SRCDIR/../docs/libcurl/*.3 %SRCDIR/../docs/libcurl/opts/*.3 %SRCDIR/../docs/*.1
|
%SRCDIR/test1140.pl %SRCDIR/../docs/ %SRCDIR/../docs/libcurl/*.3 %SRCDIR/../docs/libcurl/opts/*.3 %SRCDIR/../docs/*.1
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ Verify configure.ac and source code CURL_DISABLE_-sync
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/disable-scan.pl %SRCDIR/..
|
%SRCDIR/test1165.pl %SRCDIR/..
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@ Verify curl prefix of public symbols in header files
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/badsymbols.pl %SRCDIR/..
|
%SRCDIR/test1167.pl %SRCDIR/..
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@ Man page syntax checks
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/manpage-syntax.pl %SRCDIR/../docs/libcurl/symbols-in-versions %SRCDIR/../docs/*.1 %SRCDIR/../docs/libcurl/*.3 %SRCDIR/../docs/libcurl/opts/*.3
|
%SRCDIR/test1173.pl %SRCDIR/../docs/libcurl/symbols-in-versions %SRCDIR/../docs/*.1 %SRCDIR/../docs/libcurl/*.3 %SRCDIR/../docs/libcurl/opts/*.3
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ Verify that symbols-in-versions and libcurl-errors.3 are in sync
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/error-codes.pl %SRCDIR
|
%SRCDIR/test1175.pl %SRCDIR
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ Verify that feature names and CURL_VERSION_* in lib and docs are in sync
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/version-scan.pl %SRCDIR/../docs/libcurl/curl_version_info.3 %SRCDIR/../include/curl/curl.h %SRCDIR/../lib/version.c
|
%SRCDIR/test1177.pl %SRCDIR/../docs/libcurl/curl_version_info.3 %SRCDIR/../include/curl/curl.h %SRCDIR/../lib/version.c
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@ Verify deprecation statuses and versions
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/check-deprecated.pl %SRCDIR/..
|
%SRCDIR/test1222.pl %SRCDIR/..
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ Verify capital letters after period in markdown files
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/markdown-uppercase.pl %SRCDIR/..
|
%SRCDIR/test1275.pl %SRCDIR/..
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ Verify lib/optiontable.pl
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/option-check.pl %SRCDIR/..
|
%SRCDIR/test1276.pl %SRCDIR/..
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@ Verify libcurl.def against CURL_EXTERN declarations
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/extern-scan.pl --heading=EXPORTS --sort %SRCDIR/..
|
%SRCDIR/test1135.pl --heading=EXPORTS --sort %SRCDIR/..
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@ Verify that error codes in headers and libcurl-errors.3 are in sync
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/errorcodes.pl %SRCDIR/..
|
%SRCDIR/test1477.pl %SRCDIR/..
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@ Verify all string options are translated by OS/400 wrapper
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/check-translatable-options.pl %SRCDIR/..
|
%SRCDIR/test1544.pl %SRCDIR/..
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@ Verify that options-in-versions and docs/cmdline-opts are in sync
|
|||||||
</name>
|
</name>
|
||||||
|
|
||||||
<command type="perl">
|
<command type="perl">
|
||||||
%SRCDIR/options-scan.pl %SRCDIR/../docs/options-in-versions %SRCDIR/../docs/cmdline-opts
|
%SRCDIR/test971.pl %SRCDIR/../docs/options-in-versions %SRCDIR/../docs/cmdline-opts
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user