curl/tests/http/testenv
Viktor Szakats 739c09c8a4
tests: bundle http clients, de-dupe, enable for MSVC
To make building the http client tests faster, with no duplication, by
using the build method that other test binaries already use.

The difference compared to other tests is that these don't use internal
libcurl headers or code. With the exception of `curl_config.h`, for
a feature macro.

Before this patch, these tests were built like examples.

Also:
- de-duplicate code and give unique names to colliding symbols.
- add local getopt implementation and enable all code for MSVC.
  Adapted for curl via Public Domain source:
  4e618ef782/getopt.h
  Credits-to: Christopher Wellons
  Thanks!

Closes #17627
2025-06-16 12:29:05 +02:00
..
mod_curltest http: fix HTTP/2 handling of TE request header using "trailers" 2025-04-22 15:55:36 +02:00
__init__.py tests: change Python code style to pass ruff checks 2024-10-04 14:02:05 -07:00
caddy.py scorecard: rework format and add json print 2025-06-02 23:15:33 +02:00
certs.py pytest: add pinnedpubkey test cases 2025-05-21 22:45:42 +02:00
client.py tests: bundle http clients, de-dupe, enable for MSVC 2025-06-16 12:29:05 +02:00
curl.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
env.py pytest: adapt for runs with openssl-1.1.1 2025-06-05 13:52:29 +02:00
httpd.py http: fail early when rewind of input failed when following redirects 2025-05-28 14:53:02 +02:00
nghttpx.py pytest: adapt for runs with openssl-1.1.1 2025-06-05 13:52:29 +02:00
ports.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
vsftpd.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
ws_echo_server.py tests: change Python code style to pass ruff checks 2024-10-04 14:02:05 -07:00