curl-curl/tests/server
Viktor Szakats e785e898a6
checksrc: avoid extra runs in CI, enable more check locally, fix fallouts
To avoid redundant work in CI and to avoid a single checksrc issue make
all autotools jobs fail. After this patch checksrc issues make fail
the checksrc job, the `dist / verify-out-of-tree-autotools-debug`,
`dist / maketgz-and-verify-in-tree`  jobs and the fuzzer job (if run).
Of these, the `dist` jobs replicate local builds, also testing the build
logic.

Also add a script to check the complete local repository, optionally
with the build tree to verify generated C files.

Also:
- automatically run checksrc in subdirectories having a `checksrc`
  target. (examples, OS400, tests http/client, unit and tunit)
- tests/libtest: make sure to run `checksrc` on generated `lib1521.c`.
  (requires in-tree autotools build.)
- tests: run `checksrc` on targets also for non-`DEBUGBUILD`
  builds. It ensures to check `lib1521.c` in CI via job
  `dist / maketgz-and-verify-in-tree`.
- src: drop redundant `$(builddir)` in autotools builds.
- scripts: add `checksrc-all.sh` script to check all C sources and
  the build directory as an option.
- use the above from CI, also make it verify all generated sources.
- silence `checksrc` issues in generated C sources.
- checksrc: add `-v` option to enable verbose mode.
- checksrc: make verbose mode show checked filename and fix to only
  return error on failure.
- make sure that generated C files pass `checksrc`.

Assisted-by: Daniel Stenberg

Closes #17376
2025-05-19 18:59:50 +02:00
..
.checksrc checksrc: use 'banfunc' proper in more places 2025-01-13 09:10:58 +01:00
.gitignore rtmp: remove no longer used proto member 2025-05-08 10:24:19 +02:00
CMakeLists.txt tests/server: stop using libcurl string comparisons 2025-05-13 10:28:19 +02:00
dnsd.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
first.c tests/server: support bundle binary 2025-03-16 14:02:08 +01:00
first.h tests/server: support bundle binary 2025-03-16 14:02:08 +01:00
getpart.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
getpart.h tests/server: sync memory callbacks with lib/easy.c 2025-03-13 11:36:53 +01:00
Makefile.am checksrc: avoid extra runs in CI, enable more check locally, fix fallouts 2025-05-19 18:59:50 +02:00
Makefile.inc tests/server/Makefile.inc: cleanup 2025-05-13 14:19:01 +02:00
mk-bundle.pl tests/server: support bundle binary 2025-03-16 14:02:08 +01:00
mqttd.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
resolve.c tests/server: remove TEST use, include <memdebug.h> 2025-05-12 13:20:54 +02:00
rtspd.c tests/server: stop using libcurl string comparisons 2025-05-13 10:28:19 +02:00
server_setup.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
server_sockaddr.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
sockfilt.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
socksd.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
sws.c tests/server: stop using libcurl string comparisons 2025-05-13 10:28:19 +02:00
tftp.h tftpd: prefix TFTP protocol error E* constants with TFTP_ 2025-03-11 08:50:09 +01:00
tftpd.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
util.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
util.h tests/server: stop using libcurl string comparisons 2025-05-13 10:28:19 +02:00