curl-curl/tests
Viktor Szakats 9e6f1c5efb
build: add build-level CURL_DISABLE_TYPECHECK options
Usage:
- autotools: `--disable-typecheck` (or `--enable-typecheck` (default))
- cmake: `-DCURL_DISABLE_TYPECHECK=ON`.

To disable `curl_easy_setopt()`/`curl_easy_getinfo()` type checking with
supported (new) gcc and clang compilers. It is useful to improve build
performance for the `tests/libtest` target. In particular the CodeQL
analyzer may take above an hour to compile with type checking enabled,
and disabling it brings it down to seconds. On local machines it may
also cut build times in half when build testdeps, depending on platform
and compiler.

Other than these cases, we recommend leaving type checking enabled.

Ref: fdacf34aae #19632

Also:
- GHA/codeql: use it.
- test1165: check in `include/curl`.
- lib1912: delete stray todo comment.
- spelling and comment nits.

Closes #19637
2025-11-21 13:48:35 +01:00
..
certs badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
cmake lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
data runtests: add -m=seconds to override test curl command timeout 2025-11-19 22:04:52 +01:00
http h2/h3: handle methods with spaces 2025-11-17 15:43:28 +01:00
libtest build: add build-level CURL_DISABLE_TYPECHECK options 2025-11-21 13:48:35 +01:00
server badwords: add more contractions, fix fallouts 2025-11-17 19:29:15 +01:00
tunit tool_getparam: verify that a file exists for some options 2025-11-18 11:37:08 +01:00
unit http: eliminate ssize_t 2025-11-19 16:20:18 +01:00
.gitignore
allversions.pm badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
appveyor.pm tidy-up: whitespace (more in Perl) 2025-07-12 08:59:44 +02:00
azure.pm
CMakeLists.txt tests: replace remaining CR bytes with the new macro %CR 2025-11-06 20:45:45 +01:00
config.in
configurehelp.pm.in
devtest.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
dictserver.py badwords: add more contractions, fix fallouts 2025-11-17 19:29:15 +01:00
directories.pm scripts: fix perl indentation, whitespace, semicolons 2025-04-29 19:35:55 +02:00
ech_combos.py tidy-up: miscellaneous 2025-11-17 13:32:43 +01:00
ech_tests.sh badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
ftpserver.pl badwords: add more contractions, fix fallouts 2025-11-17 19:29:15 +01:00
getpart.pm badwords: add more contractions, fix fallouts 2025-11-17 19:29:15 +01:00
globalconfig.pm runtests: add -m=seconds to override test curl command timeout 2025-11-19 22:04:52 +01:00
http2-server.pl tidy-up: miscellaneous 2025-11-17 13:32:43 +01:00
http3-server.pl tidy-up: miscellaneous 2025-11-17 13:32:43 +01:00
http-server.pl tidy-up: miscellaneous 2025-11-17 13:32:43 +01:00
Makefile.am badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
memanalyze.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
negtelnetserver.py badwords: add more contractions, fix fallouts 2025-11-17 19:29:15 +01:00
nghttpx.conf
pathhelp.pm badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
processhelp.pm badwords: add more contractions, fix fallouts 2025-11-17 19:29:15 +01:00
requirements.txt GHA: bump the pip-dependencies group across 2 directories with 3 updates 2025-11-02 17:10:39 +01:00
rtspserver.pl tidy-up: miscellaneous 2025-11-17 13:32:43 +01:00
runner.pm runtests: add -m=seconds to override test curl command timeout 2025-11-19 22:04:52 +01:00
runtests.pl runtests: add -m=seconds to override test curl command timeout 2025-11-19 22:04:52 +01:00
secureserver.pl tidy-up: miscellaneous 2025-11-17 13:32:43 +01:00
serverhelp.pm badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
servers.pm badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
smbserver.py badwords: add more contractions, fix fallouts 2025-11-17 19:29:15 +01:00
sshhelp.pm runtests: fix test key format for libssh2 WinCNG (and others) 2025-03-23 20:26:26 +01:00
sshserver.pl tidy-up: miscellaneous 2025-11-17 13:32:43 +01:00
test745.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test971.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1119.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1132.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1135.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1139.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1140.pl badwords: re-sync with curl-www, fix issues found 2025-11-12 00:53:44 +01:00
test1165.pl build: add build-level CURL_DISABLE_TYPECHECK options 2025-11-21 13:48:35 +01:00
test1167.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1173.pl badwords: add more contractions, fix fallouts 2025-11-17 19:29:15 +01:00
test1175.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1177.pl
test1222.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1275.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
test1276.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
test1477.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1486.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1488.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
test1544.pl scripts: fix perl indentation, whitespace, semicolons 2025-04-29 19:35:55 +02:00
test1707.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
testcurl.pl badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
testutil.pm tests/data: more XML-compliance via %LT and %GT macros in email addresses 2025-11-18 18:57:53 +01:00
tftpserver.pl tidy-up: miscellaneous 2025-11-17 13:32:43 +01:00
util.py badwords: fix issues found in tests 2025-11-17 13:30:35 +01:00
valgrind.pm
valgrind.supp