]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
filter based on test existence, not one process_foo modules
authorAlan T. DeKok <aland@freeradius.org>
Tue, 11 Jul 2023 14:26:41 +0000 (10:26 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 11 Jul 2023 14:26:41 +0000 (10:26 -0400)
src/tests/process/all.mk

index 23e5572ff2e75f4b5cc3461b8be0d865002b6fba..6ad93e41406c795909ccaaf66e31cdc674d29650 100644 (file)
@@ -24,7 +24,8 @@ TEST := test.process
 #
 #  We're left with a set of files to run the tests on.
 #
-FILES := $(filter-out %.ignore %.conf %.md %.attrs %.mk %~ %.rej,$(subst $(DIR)/,,$(wildcard $(patsubst %,$(DIR)/%/*,$(basename $(subst process_,,$(filter process%,$(ALL_TGTS))))))))
+PROTOCOLS := $(subst /server.conf,,$(subst $(DIR)/,,$(wildcard $(DIR)/*/server.conf)))
+FILES := $(filter-out %.ignore %.conf %.md %.attrs %.mk %~ %.rej,$(subst $(DIR)/,,$(wildcard $(DIR)/${PROTOCOLS}/*)))
 
 $(eval $(call TEST_BOOTSTRAP))