build: add check-progs target for fleettest

Build the test-helper programs without running the suite, so an external
harness (fleettest.py) can invoke runtests.py with its own options.
This commit is contained in:
Andrew Tridgell
2026-06-06 14:52:02 +10:00
parent 2c7777aaa6
commit 3786926703

View File

@@ -319,6 +319,12 @@ test: check
# catch Bash-isms earlier even if we're running on GNU. Of course, we
# might lose in the future where POSIX diverges from old sh.
# Build the test-helper programs (CHECK_PROGS) without running the suite, so
# an external harness (e.g. fleettest.py) can invoke runtests.py with its own
# options.
.PHONY: check-progs
check-progs: all $(CHECK_PROGS) $(CHECK_SYMLINKS)
.PHONY: check
check: all $(CHECK_PROGS) $(CHECK_SYMLINKS)
$(srcdir)/runtests.py --rsync-bin=`pwd`/rsync$(EXEEXT)