[glibc] Add initial support for displaying test results.

Carlos O'Donell codonell at fedoraproject.org
Wed May 14 16:55:40 UTC 2014


commit 647ffb77fa63e73fb3096ca181a4856c2135d5ae
Author: Carlos O'Donell <carlos at redhat.com>
Date:   Wed May 14 12:52:50 2014 -0400

    Add initial support for displaying test results.
    
    After each test run we output all of the test results
    to the build logs. This includes PASS, FAIL, XPASS,
    XFAIL results and the original error codes of the tests.
    
    Without this fix the new upstream PASS/FAIL support
    hides the test results from the build logs.

 glibc.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/glibc.spec b/glibc.spec
index 06e7990..eea9e76 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1,6 +1,6 @@
 %define glibcsrcdir  glibc-2.19-323-g5abebba
 %define glibcversion 2.19.90
-%define glibcrelease 13%{?dist}
+%define glibcrelease 14%{?dist}
 # Pre-release tarballs are pulled in from git using a command that is
 # effectively:
 #
@@ -1257,6 +1257,7 @@ pushd build-%{target}
   teepid="`ps -eo ppid,pid,command | awk '($1 == '${parent}' && $3 ~ /^tee/) { print $2 }'`"
   [ -n "$teepid" ] && kill $teepid
 ) | tee check.log || :
+find . -name '*.test-result' | xargs cat;
 popd
 
 ##############################################################################
@@ -1270,6 +1271,7 @@ pushd build-%{target}-nosegneg
   teepid="`ps -eo ppid,pid,command | awk '($1 == '${parent}' && $3 ~ /^tee/) { print $2 }'`"
   [ -n "$teepid" ] && kill $teepid
 ) | tee check.log || :
+find . -name '*.test-result' | xargs cat;
 popd
 %endif
 
@@ -1287,6 +1289,7 @@ pushd build-%{target}-power6
   teepid="`ps -eo ppid,pid,command | awk '($1 == '${parent}' && $3 ~ /^tee/) { print $2 }'`"
   [ -n "$teepid" ] && kill $teepid
 ) | tee check.log || :
+find . -name '*.test-result' | xargs cat;
 popd
 %endif
 echo ====================TESTING DETAILS=================
@@ -1639,6 +1642,9 @@ rm -f *.filelist*
 %endif
 
 %changelog
+* Wed May 14 2014 Carlos O'Donell <carlos at redhat.com> - 2.19.90-14
+- Add support for displaying all test results in build logs.
+
 * Wed May 14 2014 Carlos O'Donell <carlos at redhat.com> - 2.19.90-13
 - Add initial support for ppc64le.
 


More information about the scm-commits mailing list