]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
running the tests depends on the binary we're trying to run
authorAlan T. DeKok <aland@freeradius.org>
Thu, 28 Mar 2019 11:39:05 +0000 (07:39 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 28 Mar 2019 11:39:33 +0000 (07:39 -0400)
src/tests/bin/all.mk

index 05caa9964a654b2cac58c626bc7fbbebe8227c16..699458e50b36d8b0ebd0e1b97cdac0dae0c9c53d 100644 (file)
@@ -28,9 +28,10 @@ $(BUILD_DIR)/tests/bin:
        ${Q}mkdir -p $@
 
 #
-#  Files in the output dir depend on the bin tests
+#  Files in the output dir depend on the bin tests, and on the binary
+#  that we're running
 #
-$(BUILD_DIR)/tests/bin/%: $(DIR)/% | $(BUILD_DIR)/tests/bin
+$(BUILD_DIR)/tests/bin/%: $(DIR)/% $(TESTBINDIR)/% | $(BUILD_DIR)/tests/bin
        ${Q}echo BIN-TEST $(notdir $@)
        ${Q}TESTBIN="$(TESTBIN)" TESTBINDIR="$(TESTBINDIR)" DICT_DIR="$(DICT_DIR)" $<
        ${Q}touch $@