]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
make EAP tests depend on the source modules
authorAlan T. DeKok <aland@freeradius.org>
Mon, 22 May 2023 20:07:07 +0000 (16:07 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 22 May 2023 20:25:31 +0000 (16:25 -0400)
src/tests/eapol_test/all.mk

index aebb124ea5c93259837357f624ccea03d1cf3e79..121011db7f765dcd84fc72996946b221641f18ca 100644 (file)
@@ -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.