tests: move test docs into /docs

In an attempt to make them easier to find.

The man pages runtests.md and testcurl.md are in /docs

The rest of the test documentation is in /docs/tests

Closes #17463
This commit is contained in:
Daniel Stenberg 2025-05-27 08:06:37 +02:00
parent 46733c585b
commit fa3f889752
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 14 additions and 25 deletions

View file

@ -28,18 +28,25 @@ if BUILD_DOCS
# if we disable man page building, ignore these
MK_CA_DOCS = mk-ca-bundle.1
CURLCONF_DOCS = curl-config.1
TEST_DOCS = runtests.1 testcurl.1
man_MANS = curl-config.1 wcurl.1
endif
CURLPAGES = curl-config.md mk-ca-bundle.md wcurl.md
CURLPAGES = curl-config.md mk-ca-bundle.md wcurl.md runtests.md testcurl.md
SUBDIRS = . cmdline-opts libcurl
DIST_SUBDIRS = $(SUBDIRS) examples
if BUILD_DOCS
CLEANFILES = mk-ca-bundle.1 curl-config.1 wcurl.1
CLEANFILES = $(MK_CA_DOCS) $(man_MANS) $(TEST_DOCS)
endif
TESTDOCS = \
tests/CI.md \
tests/FILEFORMAT.md \
tests/HTTP.md \
tests/TEST-SUITE.md
INTERNALDOCS = \
internals/BUFQ.md \
internals/BUFREF.md \
@ -67,6 +74,7 @@ INTERNALDOCS = \
EXTRA_DIST = \
$(CURLPAGES) \
$(INTERNALDOCS) \
$(TESTDOCS) \
ALTSVC.md \
BINDINGS.md \
BUG-BOUNTY.md \
@ -126,7 +134,7 @@ CD2_ = $(CD2_0)
SUFFIXES = .1 .md
all: $(MK_CA_DOCS) $(CURLCONF_DOCS)
all: $(MK_CA_DOCS) $(CURLCONF_DOCS) $(TEST_DOCS)
.md.1:
$(CD2)$(CD2NROFF)