[packages/glibc] - simplify make check

arekm arekm at pld-linux.org
Mon Sep 8 13:48:07 CEST 2014


commit 7618884365afbccf33f3317d126182e2d47e7c2a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Sep 8 13:48:04 2014 +0200

    - simplify make check

 glibc.spec | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
---
diff --git a/glibc.spec b/glibc.spec
index a95d2a5..e3661a2 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1030,21 +1030,8 @@ AWK="gawk" \
 cd ..
 
 %if %{with tests}
-cd builddir
 env LANGUAGE=C LC_ALL=C \
-%{__make} -j1 tests 2>&1 | awk '
-BEGIN { file = "" }
-{
-	if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
-		file=$0;
-		gsub(/.*\[/, NIL, file);
-		gsub(/\].*/, NIL, file);
-	}
-	print $0;
-}
-END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
-cd ..
-done
+%{__make} -j1 -C builddir tests
 %endif
 
 %if %{without cross}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/7618884365afbccf33f3317d126182e2d47e7c2a



More information about the pld-cvs-commit mailing list