From 54b453c7d00e758ac8de2b7419e0b72a3cb401f0e6dd761f2f1b5ad61e72a656 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 23 Sep 2020 12:27:45 +0000 Subject: [PATCH] Dump testsuite log to stdout OBS-URL: https://build.opensuse.org/package/show/science/cm?expand=0&rev=2 --- cm.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cm.spec b/cm.spec index 54fe599..97f8167 100644 --- a/cm.spec +++ b/cm.spec @@ -94,7 +94,10 @@ This subpackage provides the development headers for it. rm -f "%buildroot/%_libdir"/*.la %check -%make_build check +if ! %make_build check; then + cat tests/test-suite.log + exit 1 +fi %post -n libcm1 -p /sbin/ldconfig %postun -n libcm1 -p /sbin/ldconfig