curl/tests/http/clients
Viktor Szakats 232302f88a
cmake: add Linux CI job, fix pytest with cmake
- extend existing Linux workflow with CMake support.
  Including running pytest the first time with CMake.

- cmake: generate `tests/config` and `tests/http/config.ini`.
  Required for pytest tests.
  Uses basic detection logic. Feel free to take it from here.
  Also dump config files in a CI step for debugging purposes.

- cmake: build `tests/http/clients` programs.

- fix portability issues with `tests/http/clients` programs.
  Some of them use `getopt()`, which is not supported by MSVC.
  Fix the rest to compile in CI (old-mingw-w64, MSVC, Windows).

- GHA/linux: add CMake job matching an existing autotools one.

- GHA/linux: test `-DCURL_LIBCURL_VERSIONED_SYMBOLS=ON`
  in the new CMake job.

- reorder testdeps to build server, client tests first and then
  libtests and units, to catch errors in the more complex/unique
  sources earlier.

- sort list in `tests/http/clients/Makefile.inc`.

Closes #14382
2024-08-06 02:40:32 +02:00
..
.gitignore tidy-up: whitespace [ci skip] 2024-04-05 15:50:07 +00:00
CMakeLists.txt cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
h2-download.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
h2-pausing.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
h2-serverpush.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
h2-upgrade-extreme.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
Makefile.am cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
Makefile.inc cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
tls-session-reuse.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
upload-pausing.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
ws-data.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00
ws-pingpong.c cmake: add Linux CI job, fix pytest with cmake 2024-08-06 02:40:32 +02:00