From: Alan T. DeKok Date: Fri, 21 Apr 2023 12:31:58 +0000 (-0400) Subject: depend on the proto_detail libraries, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d04bc34c2e210b4df63d09f9a0a3d3991db470e1;p=thirdparty%2Ffreeradius-server.git depend on the proto_detail libraries, too and only succeed if the test succeeds --- diff --git a/src/tests/detail/all.mk b/src/tests/detail/all.mk index 83df36225a6..53b4db40d94 100644 --- a/src/tests/detail/all.mk +++ b/src/tests/detail/all.mk @@ -15,15 +15,16 @@ $(eval $(call TEST_BOOTSTRAP)) # so we copy it manually to the output directory (always), and then # put the server logs into the output file. # -$(OUTPUT)/%: $(DIR)/% +$(OUTPUT)/%: $(DIR)/% $(addprefix ${BUILD_DIR}/lib/,proto_detail.la proto_detail_file.la proto_detail_work.la) $(eval DIR := $(dir $<)) ${Q}echo "DETAIL $(notdir $<)" ${Q}cp $< $(dir $@)/detail.txt - ${Q}if ! $(TEST_BIN)/radiusd -d $(DIR)/config -D ${top_srcdir}/share/dictionary -X > $@; then \ - tail $@; \ + ${Q}if ! $(TEST_BIN)/radiusd -d $(DIR)/config -D ${top_srcdir}/share/dictionary -X > $@.log; then \ + tail $@.log; \ echo "cp $< $(dir $@)/detail.txt; $(TEST_BIN)/radiusd -d $(DIR)/config -D ${top_srcdir}/share/dictionary -X "; \ exit 1; \ fi + ${Q}touch $@ .NO_PARALLEL: $(TEST) $(TEST):