{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1749634274,"commit_time":1749928103,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"2c27a67daa1b76859c18d63e4e1f528db05b5e13","message":"tests: always make bundles, adapt build and tests\n\nMake test bundles the default. Drop non-bundle build mode.\nAlso do all the optimizations and tidy-ups this allows, simpler builds,\nless bundle exceptions, streamlined build mechanics.\n\nAlso rework the init/deinit macro magic for unit tests. The new method\nallows using unique init/deinit function names, and calling them with\narguments. This is in turn makes it possible to reduce the use of global\nvariables.\n\nNote this drop existing build options `-DCURL_TEST_BUNDLES=` from cmake\nand `--enable-test-bundles` / `--disable-test-bundles` from autotools.\n\nAlso:\n- rename test entry functions to have unique names: `test_<testname>`\n  This removes the last exception that was handled in the generator.\n- fix `make dist` to not miss test sources with test bundles enabled.\n- sync and merge `tests/mk-bundle.pl` into `scripts/mk-unity.pl`.\n- mk-unity.pl: add `--embed` option and use it when `CURL_CLANG_TIDY=ON`\n  to ensure that `clang-tidy` does not miss external test C sources.\n  (because `clang-tidy` ignores code that's #included.)\n- tests/unit: drop no-op setup/stop functions.\n- tests: reduce symbol scopes, global macros, other fixes and tidy-ups.\n- tool1621: fix to run, also fix it to pass.\n- sockfilt: fix Windows compiler warning in certain unity include order,\n  by explicitly including `warnless.h`.\n\nFollow-up to 6897aeb10561b55c6659866fc0518dd67422f267 #17468\n\nCloses #17590\n","parents":["1cdac95e2e1022c298c1e4e551c7e8b5bd8fd5df"],"tree_hash":"1b45ee071d613c496f01b7e1e9fe4460e7ec8ba1"}