]> git.ipfire.org Git - thirdparty/curl.git/commit
make: clean tests better
authorDaniel Stenberg <daniel@haxx.se>
Sun, 6 Apr 2025 10:04:33 +0000 (12:04 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 6 Apr 2025 11:12:55 +0000 (13:12 +0200)
commitd3761bb84013ffd356753f943d687283afe203b5
tree3f2dedcca16fdcd48347616cb4beceaea66b88be
parent64ce880d71eec5ad1a029dde654dd9425c4e492f
make: clean tests better

1. 'make clean' in the root dir now also invokes 'make clean' in the
tests subdir so that it cleans up better recursively. The Makefile.am
does not list 'tests' as a normal subdir to avoid building that
directory for a normal make invoke.

2. 'make clean' in the tests/libtest and tests/unit directories now
*explicitly* remove the unity build executables even if this is not a
unit build. This, because those files may be leftovers from previous
builds and such leftovers can otherwise linger around and since
'runtests.pl' dynamically acts differently based on the mere *presence*
of those files, they can keep you fooled for a while until you
realize...

Closes #16986
Makefile.am
tests/libtest/Makefile.am
tests/unit/Makefile.am