curl/scripts
Viktor Szakats 2c27a67daa
tests: always make bundles, adapt build and tests
Make test bundles the default. Drop non-bundle build mode.
Also do all the optimizations and tidy-ups this allows, simpler builds,
less bundle exceptions, streamlined build mechanics.

Also rework the init/deinit macro magic for unit tests. The new method
allows using unique init/deinit function names, and calling them with
arguments. This is in turn makes it possible to reduce the use of global
variables.

Note this drop existing build options `-DCURL_TEST_BUNDLES=` from cmake
and `--enable-test-bundles` / `--disable-test-bundles` from autotools.

Also:
- rename test entry functions to have unique names: `test_<testname>`
  This removes the last exception that was handled in the generator.
- fix `make dist` to not miss test sources with test bundles enabled.
- sync and merge `tests/mk-bundle.pl` into `scripts/mk-unity.pl`.
- mk-unity.pl: add `--embed` option and use it when `CURL_CLANG_TIDY=ON`
  to ensure that `clang-tidy` does not miss external test C sources.
  (because `clang-tidy` ignores code that's #included.)
- tests/unit: drop no-op setup/stop functions.
- tests: reduce symbol scopes, global macros, other fixes and tidy-ups.
- tool1621: fix to run, also fix it to pass.
- sockfilt: fix Windows compiler warning in certain unity include order,
  by explicitly including `warnless.h`.

Follow-up to 6897aeb105 #17468

Closes #17590
2025-06-14 21:08:23 +02:00
..
cd2cd
cd2nroff TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
cdall
checksrc-all.sh checksrc: avoid extra runs in CI, enable more check locally, fix fallouts 2025-05-19 18:59:50 +02:00
checksrc.pl checksrc: avoid extra runs in CI, enable more check locally, fix fallouts 2025-05-19 18:59:50 +02:00
ciconfig.pl
cijobs.pl
cmakelint.sh cmake: replace cmakelint with cmake-lint from cmakelang, fix issues 2025-06-11 07:07:49 +02:00
CMakeLists.txt cmake: install shell completions for cross-builds 2025-04-24 10:04:17 +02:00
completion.pl scripts: fix perl indentation, whitespace, semicolons 2025-04-29 19:35:55 +02:00
contributors.sh
contrithanks.sh contrithanks.sh: drop set -e 2025-04-02 11:44:26 +02:00
coverage.sh
delta scripts: fix perl indentation, whitespace, semicolons 2025-04-29 19:35:55 +02:00
dmaketgz
firefox-db2pem.sh
installcheck.sh
Makefile.am GHA: add a job to check function complexity 2025-05-21 22:59:13 +02:00
maketgz
managen
mdlinkcheck
mk-ca-bundle.pl mk-ca-bundle: switch URLs to GitHub versions 2025-05-12 11:09:17 +02:00
mk-unity.pl tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
nroff2cd
pythonlint.sh scripts: move the ruff linter command into a script 2025-05-13 16:41:32 -07:00
randdisable randdisable: build randomizer 2025-04-05 14:59:17 +02:00
release-notes.pl
release-tools.sh
schemetable.c
singleuse.pl async: DoH improvements 2025-04-16 16:06:03 +02:00
top-complexity tool_getparam: refactored, simplified 2025-05-28 14:25:32 +02:00
verify-release
wcurl wcurl: update to v2025.05.26 2025-05-27 09:29:43 +02:00