]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
print program to run after printing logs
authorAlan T. DeKok <aland@freeradius.org>
Fri, 9 Sep 2022 12:40:30 +0000 (08:40 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 14 Sep 2022 02:06:01 +0000 (22:06 -0400)
src/tests/bin/all.mk

index ac1fb34d6ed26d40b06cb1f277d105c71cfe17f8..58c115120f0a6cbad69c998cec501abc1b36db1e 100644 (file)
@@ -54,9 +54,9 @@ unit_test_module.ARGS = -h
 $(BUILD_DIR)/tests/bin/%: $(BUILD_DIR)/bin/local/%
        @echo "BIN-TEST $(notdir $@)"
        ${Q}if ! $(TEST_BIN)/$(notdir $<) $($(notdir $@).ARGS) > $@.log 2>&1; then \
-               echo $(TEST_BIN)/$(notdir $<) $($(notdir $@).ARGS); \
                echo LOG in $@.log; \
                cat $@.log; \
+               echo $(TEST_BIN)/$(notdir $<) $($(notdir $@).ARGS); \
                exit 1; \
        fi
        ${Q}touch $@