]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Re-link and run tests if pre-reqs change
authorAlan T. DeKok <aland@freeradius.org>
Fri, 31 Jul 2015 07:27:02 +0000 (09:27 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 8 Aug 2015 15:44:54 +0000 (17:44 +0200)
src/tests/unit/all.mk

index 3b5b9c2d712bb08d7a0dd7b3c8d273cd8f7184dd..95b63fdce55db561349222de3e4b71bbcce421af 100644 (file)
@@ -33,7 +33,7 @@ $(BUILD_DIR)/share/dictionary: $(top_srcdir)/share/dictionary $(top_srcdir)/shar
 #
 #  Files in the output dir depend on the unit tests
 #
-$(BUILD_DIR)/tests/unit/%: $(DIR)/% $(TESTBINDIR)/radattr $(BUILD_DIR)/share/dictionary | $(BUILD_DIR)/tests/unit
+$(BUILD_DIR)/tests/unit/%: $(DIR)/% $(BUILD_DIR)/bin/radattr $(TESTBINDIR)/radattr $(BUILD_DIR)/share/dictionary | $(BUILD_DIR)/tests/unit
        @echo UNIT-TEST $(notdir $@)
        @if ! $(TESTBIN)/radattr -D $(BUILD_DIR)/share $<; then \
                echo "$(TESTBIN)/radattr -D $(BUILD_DIR)/share $<"; \