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

[glibc] 01/01: debian/rules.d/build.mk: allow a test to fail without having a .out file.



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

aurel32 pushed a commit to branch glibc-2.23
in repository glibc.

commit 3e965e96045aab3171eb82458eadc9f3b6acb1dc
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Tue Jun 28 13:16:13 2016 +0200

    debian/rules.d/build.mk: allow a test to fail without having a .out file.
---
 debian/changelog        | 2 ++
 debian/rules.d/build.mk | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a7210ea..332cef7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ glibc (2.23-0experimental4) UNRELEASED; urgency=medium
 
   [ Aurelien Jarno ]
   * debian/patches/git-updates.diff: update from upstream stable branch.
+  * debian/rules.d/build.mk: allow a test to fail without having a .out
+    file.
 
  -- Aurelien Jarno <aurel32@debian.org>  Tue, 28 Jun 2016 12:45:35 +0200
 
diff --git a/debian/rules.d/build.mk b/debian/rules.d/build.mk
index df65f1b..6426045 100644
--- a/debian/rules.d/build.mk
+++ b/debian/rules.d/build.mk
@@ -140,7 +140,9 @@ $(stamp)check_%: $(stamp)build_%
 	  for test in $$(sed -e '/^\(FAIL\|XFAIL\): /!d;s/^.*: //' $(DEB_BUILDDIR)/tests.sum) ; do \
 	    echo "----------" ; \
 	    cat $(DEB_BUILDDIR)/$$test.test-result ; \
-	    cat $(DEB_BUILDDIR)/$$test.out ; \
+	    if test -f $(DEB_BUILDDIR)/$$test.out ; then
+	      cat $(DEB_BUILDDIR)/$$test.out ; \
+	    fi ; \
 	    echo "----------" ; \
 	  done ; \
 	  if grep -q '^FAIL:' $(DEB_BUILDDIR)/tests.sum ; then \

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


Reply to: