From: George Thessalonikefs Date: Mon, 27 Jun 2022 22:22:30 +0000 (+0200) Subject: - Show the output of the exact .rpl run that failed with 'make test'. X-Git-Tag: release-1.16.1rc1~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9177867d07ee68eb58defe0438dfe1616fc42951;p=thirdparty%2Funbound.git - Show the output of the exact .rpl run that failed with 'make test'. --- diff --git a/Makefile.in b/Makefile.in index 7dbe57600..3189731ad 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 diff --git a/doc/Changelog b/doc/Changelog index 7a5823e9b..9903ec89f 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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)