From 1157082784b803c027e16c6be69aa5e8f983f941 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 27 Jun 2019 16:29:46 +0100 Subject: [PATCH] Display all test-suite.log files on error. --- libnbd.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libnbd.spec b/libnbd.spec index 9375295..691f052 100644 --- a/libnbd.spec +++ b/libnbd.spec @@ -121,7 +121,11 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %check make %{?_smp_mflags} check || { - cat tests/test-suite.log + for f in $(find -name test-suite.log); do + echo + echo "==== $f ====" + cat $f + done exit 1 }