]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
make the tests depend on the RADIUS dictionary
authorAlan T. DeKok <aland@freeradius.org>
Tue, 17 Oct 2023 12:13:32 +0000 (08:13 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 17 Oct 2023 13:00:06 +0000 (09:00 -0400)
src/tests/unit/all.mk

index 2471931e2295218bc212d05af838e142562dfa1c..ba7e999fe1fb4c5e76fd80944583765522888fcb 100644 (file)
@@ -76,7 +76,7 @@ $(BUILD_DIR)/tests/unit/xlat/purify.txt $(filter $(BUILD_DIR)/tests/unit/xlat/co
 #
 #  And the actual script to run each test.
 #
-$(OUTPUT)/%: $(DIR)/% $(TEST_BIN_DIR)/unit_test_attribute
+$(OUTPUT)/%: $(DIR)/% $(TEST_BIN_DIR)/unit_test_attribute $(top_srcdir)/src/tests/unit/dictionary
        $(eval DIR:=${top_srcdir}/src/tests/unit)
        @echo "UNIT-TEST $(lastword $(subst /, ,$(dir $@))) $(basename $(notdir $@))"
        ${Q}if ! $(TEST_BIN)/unit_test_attribute $(PURIFY) -F ./src/tests/fuzzer-corpus -D ./share/dictionary -d $(DIR) -r "$@" $<; then \