From 9177867d07ee68eb58defe0438dfe1616fc42951 Mon Sep 17 00:00:00 2001 From: George Thessalonikefs Date: Tue, 28 Jun 2022 00:22:30 +0200 Subject: [PATCH] - Show the output of the exact .rpl run that failed with 'make test'. --- Makefile.in | 12 +++++------- doc/Changelog | 3 +++ 2 files changed, 8 insertions(+), 7 deletions(-) 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) -- 2.47.3