From: Alan T. DeKok Date: Thu, 28 Mar 2019 11:39:05 +0000 (-0400) Subject: running the tests depends on the binary we're trying to run X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8ea83b8afb18435429efc78e8f5ed82aa93b3f7;p=thirdparty%2Ffreeradius-server.git running the tests depends on the binary we're trying to run --- diff --git a/src/tests/bin/all.mk b/src/tests/bin/all.mk index 05caa9964a6..699458e50b3 100644 --- a/src/tests/bin/all.mk +++ b/src/tests/bin/all.mk @@ -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 $@