Skip tests on ppc64el to avoid build-dep on bcftools currently uninstallable
authorMattia Rizzolo <mattia@debian.org>
Tue, 24 Oct 2017 16:25:30 +0000 (18:25 +0200)
committerMattia Rizzolo <mattia@debian.org>
Tue, 24 Oct 2017 16:25:30 +0000 (18:25 +0200)
Hopefully this will help unstuck the current python3 transition.

Signed-off-by: Mattia Rizzolo <mattia@debian.org>
debian/control
debian/rules

index 7818024cdf1ff429223aaec20058c0a7d4c7dac0..02e0a587b999d94457a5c095de08b032e57d5aea 100644 (file)
@@ -20,7 +20,7 @@ Build-Depends:
        cython3 (>= 0.23),
        tabix <!nocheck>,
        samtools (>= 1.5) <!nocheck>,
-       bcftools (>= 1.5) <!nocheck>,
+       bcftools (>= 1.5) [!ppc64el] <!nocheck>,
        python-pytest <!nocheck>,
        python3-pytest <!nocheck>,
 Standards-Version: 4.1.0
index cb44816f1b1b46ec5d3887b71899cfa68ff38528..4e6bfd74de9f42c2591476289c1cfd2bbadc2c52 100755 (executable)
@@ -23,11 +23,15 @@ override_dh_install: clean-tests
        dh_install -Xtest.gtf.gz
 
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ifneq ($(DEB_HOST_ARCH),ppc64el)
 override_dh_auto_test: pysam_data.all cbcf_data.all
        dh_auto_test
 else
 override_dh_auto_test:
 endif
+else
+override_dh_auto_test:
+endif
 
 override_dh_auto_clean:
        dh_auto_clean