]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Show the output of the exact .rpl run that failed with 'make test'.
authorGeorge Thessalonikefs <george@nlnetlabs.nl>
Mon, 27 Jun 2022 22:22:30 +0000 (00:22 +0200)
committerGeorge Thessalonikefs <george@nlnetlabs.nl>
Mon, 27 Jun 2022 22:22:30 +0000 (00:22 +0200)
Makefile.in
doc/Changelog

index 7dbe5760033b09022dfc4011c65e508efb3569a3..3189731ad52fae6eb5ac6fe4b959ff3b1f9b4b70 100644 (file)
@@ -345,14 +345,12 @@ test:     unittest$(EXEEXT) testbound$(EXEEXT)
        ./unittest$(EXEEXT)
        ./testbound$(EXEEXT) -s
        for x in $(srcdir)/testdata/*.rpl; do \
-               printf "%s" "$$x "; \
-               if ./testbound$(EXEEXT) -p $$x >/dev/null 2>&1; then \
-                       echo OK; \
+               output=`./testbound$(EXEEXT) -p $$x -o -vvvvv 2>&1`; \
+               if test $$? -eq 0; then \
+                       printf "%s OK\n" "$$x "; \
                else \
-                       echo failed; \
-                       ./testbound$(EXEEXT) -p $$x -o -vvvvv; \
-                       printf "%s" "$$x "; \
-                       echo failed; \
+                       printf "%s\n" "$$output "; \
+                       printf "%s failed\n" "$$x "; \
                        exit 1; \
                fi; \
        done
index 7a5823e9b0b76675e3e28ec6d8a88aa4ce09244d..9903ec89f9cf2c765487fb1316c267306d2272da 100644 (file)
@@ -1,3 +1,6 @@
+28 June 2022: George
+       - Show the output of the exact .rpl run that failed with 'make test'.
+
 23 June 2022: Tom
        - Clarify -v flag manpage entry (#705)