[tar] Do not run verbose make check by default

Pavel Raiskup praiskup at fedoraproject.org
Fri Feb 1 09:24:37 UTC 2013


commit bf32ad4192bbd8015d49e4fe6647ec94b164923a
Author: Pavel Raiskup <pavel at raiskup.cz>
Date:   Fri Feb 1 10:21:05 2013 +0100

    Do not run verbose make check by default
    
    Append the verbose testsuite output to build.log only when some problem
    occurred.
    
    Version: 2:1.26-16

 tar.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tar.spec b/tar.spec
index 28e385b..3975ac7 100644
--- a/tar.spec
+++ b/tar.spec
@@ -106,7 +106,7 @@ rm -f $RPM_BUILD_ROOT/sbin/rmt
 
 %check
 rm -f $RPM_BUILD_ROOT/test/testsuite
-TESTSUITEFLAGS=-v make check
+make check || TESTSUITEFLAGS=-v make check
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -145,6 +145,7 @@ fi
 - add the last_help2man_run file to git repo to allow more easily find changes
   in --help in future
 - make the DEFAULTS section to be more visible in man page
+- verbose 'make check' only when some fail happened (append to koji build.log)
 
 * Thu Nov 29 2012 Ondrej Vasik <ovasik at redhat.com> - 2:1.26-15
 - add missing --full-time option to manpage


More information about the scm-commits mailing list