curl-curl/tests/http
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
..
clients tests: bundle http clients, de-dupe, enable for MSVC 2025-06-16 12:29:05 +02:00
testenv tests: bundle http clients, de-dupe, enable for MSVC 2025-06-16 12:29:05 +02:00
.gitignore tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
CMakeLists.txt cmake: improve httpd detection for pytest 2025-02-28 03:40:40 +01:00
config.ini.in pytest: use httpd/apache2 directly, no apachectl 2025-01-14 11:33:49 +01:00
conftest.py pytest: adapt for runs with openssl-1.1.1 2025-06-05 13:52:29 +02:00
Makefile.am conn: fix connection reuse when SSL is optional 2025-02-20 16:23:35 +01:00
requirements.txt pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
scorecard.py scorecard: rework format and add json print 2025-06-02 23:15:33 +02:00
test_01_basic.py misc: fix spelling 2025-05-29 10:21:05 +02:00
test_02_download.py tests: bundle http clients, de-dupe, enable for MSVC 2025-06-16 12:29:05 +02:00
test_03_goaway.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_04_stuttered.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_05_errors.py openssl: error on SSL_ERROR_SYSCALL 2025-06-11 10:44:55 +02:00
test_06_eyeballs.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_07_upload.py tests: bundle http clients, de-dupe, enable for MSVC 2025-06-16 12:29:05 +02:00
test_08_caddy.py tests: bundle http clients, de-dupe, enable for MSVC 2025-06-16 12:29:05 +02:00
test_09_push.py tests: bundle http clients, de-dupe, enable for MSVC 2025-06-16 12:29:05 +02:00
test_10_proxy.py TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
test_11_unix.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_12_reuse.py spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
test_13_proxy_auth.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_14_auth.py digest: fix build with disabled digest auth 2025-06-15 12:07:22 +02:00
test_15_tracing.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_16_info.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_17_ssl_use.py tests: bundle http clients, de-dupe, enable for MSVC 2025-06-16 12:29:05 +02:00
test_18_methods.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_19_shutdown.py tests: bundle http clients, de-dupe, enable for MSVC 2025-06-16 12:29:05 +02:00
test_20_websockets.py tests: bundle http clients, de-dupe, enable for MSVC 2025-06-16 12:29:05 +02:00
test_30_vsftpd.py ftp: fix race in upload handling 2025-05-25 11:56:16 +02:00
test_31_vsftpds.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
test_32_ftps_vsftpd.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00