From b87dc522d5a11e1b1ffd6b1572716377c339d195 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 26 Jan 2024 11:52:20 +0100 Subject: [PATCH] cat the long log --- testing-farm/tests/old-testsuite/test.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/testing-farm/tests/old-testsuite/test.sh b/testing-farm/tests/old-testsuite/test.sh index 03572d37b..40753ff60 100755 --- a/testing-farm/tests/old-testsuite/test.sh +++ b/testing-farm/tests/old-testsuite/test.sh @@ -2,4 +2,9 @@ cd ../../../mock install-mock-packages-built-by-packit mock-core-configs mock -make check 2>&1 | tee the-log | grep -e ^PASS -e ^FAIL -e ^ERROR + +if make check 2>&1 | tee the-log | grep FAILED: -e PASSED:; then + true +else + cat the-log +fi