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.

(cherry picked from commit a122e5d6b6)
This commit is contained in:
Andrew Tridgell
2026-06-06 14:52:02 +10:00
parent c0aa8675cf
commit 9df854805f

View File

@@ -326,6 +326,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)
rsync_bin=`pwd`/rsync$(EXEEXT) $(srcdir)/runtests.sh