]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
re-run the digest tests if we rebuild radiusd or rlm_digest
authorAlan T. DeKok <aland@freeradius.org>
Thu, 8 Apr 2021 19:24:50 +0000 (15:24 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 8 Apr 2021 19:25:38 +0000 (15:25 -0400)
src/tests/digest/all.mk

index e51c1ef5bd0588de423219277b49b73138ef254d..cb5348a43180767f4b1b80d046420c1a7af529b4 100644 (file)
@@ -10,6 +10,11 @@ FILES := $(subst $(DIR)/,,$(wildcard $(DIR)/*.txt))
 
 $(eval $(call TEST_BOOTSTRAP))
 
+#
+#  Ensure that the digest tests are run if the server or rlm_digest module changes
+#
+$(FILES.$(TEST)): $(BUILD_DIR)/lib/rlm_digest.la $(BUILD_DIR)/bin/radiusd $(BUILD_DIR)/bin/radclient
+
 #
 #      Config settings
 #