[Git][debian-gis-team/python-cartopy][master] Ignore test failures on s390x & ppc64 like shapely.

Bas Couwenberg gitlab at salsa.debian.org
Wed Nov 20 15:43:16 GMT 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / python-cartopy


Commits:
7ca2b1f4 by Bas Couwenberg at 2019-11-20T15:34:56Z
Ignore test failures on s390x & ppc64 like shapely.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ python-cartopy (0.17.0+dfsg-7) UNRELEASED; urgency=medium
 
   * Bump Standards-Version to 4.4.1, no changes.
   * Drop Provides: ${python3:Provides}.
+  * Ignore test failures on s390x & ppc64 like shapely.
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Mon, 30 Sep 2019 19:49:59 +0200
 


=====================================
debian/rules
=====================================
@@ -26,7 +26,13 @@ override_dh_auto_clean:
 	$(RM) -r __pycache__
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter $(DEB_BUILD_ARCH),s390x ppc64))
+	xvfb-run -a -n 1 -s "-screen 0 1280x1024x24 -dpi 96" dh_auto_test || echo "Ignoring test failures"
+else
 	xvfb-run -a -n 1 -s "-screen 0 1280x1024x24 -dpi 96" dh_auto_test
+endif
+endif
 
 override_dh_auto_install:
 	mkdir -p debian/python-cartopy-data/usr/share/cartopy/data



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-cartopy/commit/7ca2b1f42e74e5b38c4549a0c523f94ed90241da

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-cartopy/commit/7ca2b1f42e74e5b38c4549a0c523f94ed90241da
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20191120/804ecf15/attachment.html>


More information about the Pkg-grass-devel mailing list