From: Alan T. DeKok Date: Mon, 22 May 2023 20:07:07 +0000 (-0400) Subject: make EAP tests depend on the source modules X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3c4891783b91bcb35a10dd2d648ef9828132b0c;p=thirdparty%2Ffreeradius-server.git make EAP tests depend on the source modules --- diff --git a/src/tests/eapol_test/all.mk b/src/tests/eapol_test/all.mk index aebb124ea5c..121011db7f7 100644 --- a/src/tests/eapol_test/all.mk +++ b/src/tests/eapol_test/all.mk @@ -62,9 +62,19 @@ define ADD_TEST_EAP test.eap.${1}: $(OUTPUT)/${1}.ok test.eap.help: TEST_EAP_HELP += test.eap.${1} + +# +# Ensure that we run +# +$(OUTPUT)/${1}.ok: $(patsubst %,rlm_eap_%.la,$(subst -,_,${1})) + endef $(foreach x,$(patsubst $(DIR)/%.conf,%,$(EAPOL_TEST_FILES)),$(eval $(call ADD_TEST_EAP,$x))) +# +# The EAP-MSCHAPv2 module calls MSCHAP to do the dirty work. +# +$(OUTPUT)/mschapv2.ok: rlm_mschap.la # # Generic rules to start / stop the radius service.