[libuser] Include test suite output in build log on failure

Miloslav Trmac mitr at fedoraproject.org
Mon Oct 14 17:31:27 UTC 2013


commit 34b4222f75fc83aac2961022d5dab4ce07f89b81
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Mon Oct 14 19:31:14 2013 +0200

    Include test suite output in build log on failure

 libuser.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libuser.spec b/libuser.spec
index a129033..e8b53bf 100644
--- a/libuser.spec
+++ b/libuser.spec
@@ -2,7 +2,7 @@
 
 Name: libuser
 Version: 0.60
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: System Environment/Base
 License: LGPLv2+
 URL: https://fedorahosted.org/libuser/
@@ -57,7 +57,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
 
 %check
 
-make check
+make check || cat test-suite.log
 
 # Verify that all python modules load, just in case.
 LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}:${LD_LIBRARY_PATH}
@@ -96,6 +96,9 @@ python -c "import libuser"
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Mon Oct 14 2013 Miloslav Trmač <mitr at redhat.com> - 0.60-2
+- Include test suite output in build log on failure
+
 * Mon Oct 14 2013 Miloslav Trmač <mitr at redhat.com> - 0.60-1
 - Update to libuser-0.60
   Resolves: #910774, #985569, #1008825


More information about the scm-commits mailing list