Package: binutils
Severity: wishlist
Version: 2.15-7
Tags: patch

Hi,

it would be nice if one could control whether the binutils test suite be
run through DEB_BUILD_OPTIONS.  Other parts of the toolchain (most
notably glibc) are doing this already.  If $DEB_BUILD_OPTIONS contains
'nocheck', make check is not called.


cheers,

Michael
--- debian/rules        2005-06-21 20:02:30.000000000 +0200
+++ debian/rules.new    2005-06-21 20:02:08.000000000 +0200
@@ -115,8 +115,10 @@
        $(MAKE) -C builddir-single/bfd headers
        $(MAKE) -C builddir-single \
                CFLAGS="$(CFLAGS)"
+ifneq ($(findstring nocheck,$(DEB_BUILD_OPTIONS)),nocheck)
        -$(MAKE) -C builddir-single -k \
                CFLAGS="$(CFLAGS)" check
+endif
        cat builddir-single/binutils/binutils.sum \
            builddir-single/gas/testsuite/gas.sum \
            builddir-single/ld/ld.sum >> $(pwd)/test-summary

Reply via email to