[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[glibc] 02/02: debian/rules.d/build.mk: do not fail the build in case of testsuite regressions when building a +debXuX version. That way changes in the environment (e.g.: kernel) do not prevent security or stable versions to be built.



This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch sid
in repository glibc.

commit b3fd9db4d47ecef470be5b81557e996556df0a32
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Sun Apr 9 20:37:00 2017 +0200

    debian/rules.d/build.mk: do not fail the build in case of testsuite regressions when building a +debXuX version. That way changes in the environment (e.g.: kernel) do not prevent security or stable versions to be built.
---
 debian/changelog        | 4 ++++
 debian/rules.d/build.mk | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c923846..909783e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,10 @@ glibc (2.24-10) UNRELEASED; urgency=medium
   * Drop patches/any/cvs-resolv-internal-qtype.diff, merged upstream.
   * any/cvs-remove-pid-tid-cache-clone.diff: patch from upstream to remove
     cached PID/TID in clone.  Closes: #857909.
+  * debian/rules.d/build.mk: do not fail the build in case of testsuite
+    regressions when building a +debXuX version. That way changes in the
+    environment (e.g.: kernel) do not prevent security or stable versions
+    to be built.
 
  -- Aurelien Jarno <aurel32@debian.org>  Mon, 16 Jan 2017 18:46:54 +0100
 
diff --git a/debian/rules.d/build.mk b/debian/rules.d/build.mk
index 9aaea50..9a25e28 100644
--- a/debian/rules.d/build.mk
+++ b/debian/rules.d/build.mk
@@ -148,7 +148,9 @@ $(stamp)check_%: $(stamp)build_%
 	    echo "|     Encountered regressions that don't match expected failures.     |" ; \
 	    echo "+---------------------------------------------------------------------+" ; \
 	    grep -E '^FAIL:' $(DEB_BUILDDIR)/tests.sum | sort ; \
-	    exit 1 ; \
+	    if ! dpkg-parsechangelog | egrep -q '^Version:.*\+deb[0-9]+u[0-9]+' ; then
+	        exit 1 ; \
+	    fi ; \
 	  else \
 	    echo "+---------------------------------------------------------------------+" ; \
 	    echo "| Passed regression testing.  Give yourself a hearty pat on the back. |" ; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git


Reply to: