Source: libnftnl
Version: Please honour DEB_BUILD_OPTIONS=nocheck
Severity: wishlist
Tags: patch
User: debian-ri...@lists.debian.org
Usertags: riscv64

Hello,

The workaround for the tests overriding dh_auto_test in debian/rules means that
DEB_BUILD_OPTIONS=nocheck is not honoured.

It would be great if you could fix this, either not overriding dh_auto_test (if
the issue is fixed now) or by surrounding the check with something like the
attached patch.

Cheers.
--- debian/rules        2016-12-21 12:06:28.000000000 +0100
+++ debian/rules-honour-nocheck 2017-04-19 20:20:19.247933442 +0200
@@ -23,6 +23,8 @@
        dh_auto_test
 
        # there are json testsuites issues in big endian arches
+ifneq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
 ifeq (little,$(DEB_BUILD_ARCH_ENDIAN))
        sh -c "cd tests; set -e; ./test-script.sh"
 endif
+endif

Reply via email to