From ae3471150bec912f509fe8aedc3f423d1d72574e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 23 Jun 2022 14:24:26 +0100 Subject: [PATCH] Fix %check for failures Run all the tests, even if some fail, and print all of the test-suite.log files. --- virt-what.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virt-what.spec b/virt-what.spec index 1c985fe..25c9c4c 100644 --- a/virt-what.spec +++ b/virt-what.spec @@ -99,8 +99,8 @@ make %check -if ! make check ; then - cat test-suite.log +if ! make -k check ; then + find -name test-suite.log -exec cat {} \; exit 1 fi