]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add "help" target
authorAlan T. DeKok <aland@freeradius.org>
Wed, 26 Jan 2022 19:41:11 +0000 (14:41 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 29 Jan 2022 16:13:30 +0000 (11:13 -0500)
src/tests/unit/all.mk

index 5a156ccb96eb22f7450ae559a06e08565d40e506..718809ffe74f2c1fc0009e5c27a9ad53ea2e412b 100644 (file)
@@ -47,6 +47,8 @@ define UNIT_TEST_PROTOCOLS
 $(addprefix $(OUTPUT)/,$(filter protocols/${1}/%.txt,$(FILES))): $(wildcard $(top_srcdir)/share/dictionary/${1}/dictionary*) $(BUILD_DIR)/lib/libfreeradius-${1}.la
 
 test.unit.${1}: $(addprefix $(OUTPUT)/,$(filter protocols/${1}/%.txt,$(FILES))) $(BUILD_DIR)/lib/libfreeradius-${1}.la
+
+test.unit.help: TEST_UNIT_HELP += test.unit.${1}
 endef
 $(foreach x,$(PROTOCOLS),$(eval $(call UNIT_TEST_PROTOCOLS,$x)))
 
@@ -67,3 +69,6 @@ $(OUTPUT)/%: $(DIR)/% $(TEST_BIN_DIR)/unit_test_attribute
 
 $(TEST):
        @touch $(BUILD_DIR)/tests/$@
+
+$(TEST).help:
+       @echo make $(TEST_UNIT_HELP)