cmake: replace internal option with a new testbins target

To allow building test binaries without test certs, replacing
`_CURL_SKIP_BUILD_CERTS` internal option with a build target that is
similar to `testdeps`, but without building the test certificates.

To make building test binaries a little bit faster, with less noisy
output, and without having to reconfigure the build.

Closes #20708
This commit is contained in:
Viktor Szakats 2026-02-24 01:35:02 +01:00
parent 3137f725cd
commit aae361242f
No known key found for this signature in database
7 changed files with 16 additions and 14 deletions

View file

@ -552,9 +552,10 @@ Note: These variables are internal and subject to change.
## Useful build targets
- `testdeps`: Build test dependencies (servers, tools, test certificates).
- `testbins`: Build test binaries (servers, tools).
Individual targets: `curlinfo`, `libtests`, `servers`, `tunits`, `units`
Test certificates: `build-certs`, `clean-certs`
- `testdeps`: Build test dependencies (test binaries, test certificates).
Test certificates: `build-certs` (clean with `clean-certs`)
- `tests`: Run tests (`runtests.pl`). Customize via the `TFLAGS` environment variable, e.g. `TFLAGS=1621`.
Other flavors: `test-am`, `test-ci`, `test-event`, `test-full`, `test-nonflaky`, `test-quiet`, `test-torture`
- `curl-pytest`: Run tests (pytest).