]> git.ipfire.org Git - thirdparty/curl.git/commit
build: split `.c` and `.h` file lists in tests
authorViktor Szakats <commit@vsz.me>
Wed, 25 Jun 2025 11:30:23 +0000 (13:30 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 26 Jun 2025 08:20:41 +0000 (10:20 +0200)
commit53c88435d88f7d3a590967cc243157533bb0bdb0
tree15878a558bf84b15309d9b827761f8277231bd80
parentf547bca4b6af8f46603ca680adda1c08d2ddc717
build: split `.c` and `.h` file lists in tests

It allows to pass `.h` files only where they are really needed, which is
`EXTRA_DIST` (or `*SOURCES`) for autotools.

Also:
- rename variables to be shorter and consistent.
- drop references to non-local headers. We don't need to pass them as
  dist sources.
- drop empty variables and references, after the above.
- server: add placeholder `UTIL_H`.

Closes #17745
15 files changed:
tests/client/CMakeLists.txt
tests/client/Makefile.am
tests/client/Makefile.inc
tests/libtest/CMakeLists.txt
tests/libtest/Makefile.am
tests/libtest/Makefile.inc
tests/server/CMakeLists.txt
tests/server/Makefile.am
tests/server/Makefile.inc
tests/tunit/CMakeLists.txt
tests/tunit/Makefile.am
tests/tunit/Makefile.inc
tests/unit/CMakeLists.txt
tests/unit/Makefile.am
tests/unit/Makefile.inc