[Crosstoolchain-logs] [gdb] 08/14: debian/rules: Update to work on new release

Samuel Bronson naesten-guest at moszumanska.debian.org
Wed May 7 20:37:09 UTC 2014


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

naesten-guest pushed a commit to branch master
in repository gdb.

commit b2f05c9f486cc1a274b0d7aeb62ab851229824bb
Author: Samuel Bronson <naesten at gmail.com>
Date:   Tue May 6 15:52:06 2014 -0400

    debian/rules: Update to work on new release
    
      - Don't expect all tests to pass, they never do.
    
        (I guess "make check" finally started returning the failure code.)
    
        [I've also taken the liberty of removing the "ulimit -c" here; the
        testsuite evidently does that itself now.  Doesn't really make it
        play any nicer with corekeeper though...]
    
      - Adjust for "gcore" getting its source renamed and getting installed
---
 debian/rules | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 57b2416..415497b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -228,8 +228,8 @@ build-minimal-stamp:
 
 check-stamp:
 ifeq ($(run_tests),yes)
-	ulimit -c unlimited || true; \
-	  $(MAKE) $(NJOBS) -C $(DEB_BUILDDIR)/gdb check
+	$(MAKE) $(NJOBS) -C $(DEB_BUILDDIR)/gdb check \
+	  || echo "**Tests failed, of course.**"
 endif
 	touch $@
 
@@ -263,10 +263,6 @@ ifeq ($(run_tests),yes)
 endif
 
 ifneq ($(DEB_CROSS),yes)
-	# Gcore is only useful for native GDB.
-	$(INSTALL) -m 755 -o root -g root \
-		gdb/gdb_gcore.sh debian/gdb$(TS)/usr/bin/$(TP)gcore
-
 	# Only ship a global gdbinit for the native GDB.
 	install -d debian/gdb$(TS)/etc/gdb
 	install -m 644 debian/gdbinit debian/gdb$(TS)/etc/gdb/
@@ -295,7 +291,7 @@ binary-post-install/gdb-minimal ::
 		$(BUILDDIRMIN)/gdb/gdb debian/gdb-minimal/usr/bin/gdb
 
 	$(INSTALL) -m 755 -o root -g root \
-		gdb/gdb_gcore.sh debian/gdb-minimal/usr/bin/gcore
+		$(BUILDDIRMIN)/gdb/gcore debian/gdb-minimal/usr/bin/gcore
 
 	# Only ship a global gdbinit for the native GDB.
 	install -d debian/gdb-minimal/etc/gdb

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



More information about the Crosstoolchain-logs mailing list