[Git][debian-gis-team/postgis][experimental] Skip autopkgtests on armel & armhf too. (closes: #961188)

Bas Couwenberg gitlab at salsa.debian.org
Thu May 21 05:41:32 BST 2020



Bas Couwenberg pushed to branch experimental at Debian GIS Project / postgis


Commits:
d31f5aaa by Bas Couwenberg at 2020-05-21T06:41:20+02:00
Skip autopkgtests on armel & armhf too. (closes: #961188)

- - - - -


3 changed files:

- debian/changelog
- debian/tests/regress
- debian/tests/test-extension-creation


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,14 @@
 postgis (3.1.0~alpha1+dfsg-1~exp5) UNRELEASED; urgency=medium
 
+  [ Christoph Berg ]
   * Remove debian/postgresql-generic-postgis-scripts.preinst.in.
     Obsolete, and it was buggy with older dpkg-diversions which didn't have
     --no-rename yet.
 
+  [ Bas Couwenberg ]
+  * Skip autopkgtests on armel & armhf too.
+    (closes: #961188)
+
  -- Christoph Berg <myon at debian.org>  Sun, 17 May 2020 15:51:36 +0200
 
 postgis (3.1.0~alpha1+dfsg-1~exp4) experimental; urgency=medium


=====================================
debian/tests/regress
=====================================
@@ -21,7 +21,7 @@ POSTGIS_GEOS_VERSION="$(dpkg-query -f '${Version}' --show 'libgeos-*.*' | cut -c
 # Skip tests on problematic architectures
 ARCH="$(dpkg-architecture -qDEB_BUILD_ARCH)"
 
-if [ "${ARCH}" = "mips" ] || [ "${ARCH}" = "mips64el" ] || [ "${ARCH}" = "mipsel" ] || [ "${ARCH}" = "s390x" ] || [ "${ARCH}" = "alpha" ] || [ "${ARCH}" = "hppa" ] || [ "${ARCH}" = "hurd-i386" ] || [ "${ARCH}" = "kfreebsd-i386" ] || [ "${ARCH}" = "powerpc" ] || [ "${ARCH}" = "ppc64" ] || [ "${ARCH}" = "sparc64" ]; then
+if [ "${ARCH}" = "armel" ] || [ "${ARCH}" = "armhf" ] || [ "${ARCH}" = "mips" ] || [ "${ARCH}" = "mips64el" ] || [ "${ARCH}" = "mipsel" ] || [ "${ARCH}" = "s390x" ] || [ "${ARCH}" = "alpha" ] || [ "${ARCH}" = "hppa" ] || [ "${ARCH}" = "hurd-i386" ] || [ "${ARCH}" = "kfreebsd-i386" ] || [ "${ARCH}" = "powerpc" ] || [ "${ARCH}" = "ppc64" ] || [ "${ARCH}" = "sparc64" ]; then
   echo "Skipping tests on problematic architectures"
   exit 77
 fi


=====================================
debian/tests/test-extension-creation
=====================================
@@ -2,6 +2,14 @@
 
 set -eu
 
+# Skip tests on problematic architectures
+ARCH="$(dpkg-architecture -qDEB_BUILD_ARCH)"
+
+if [ "${ARCH}" = "armel" ] || [ "${ARCH}" = "armhf" ] || [ "${ARCH}" = "mips" ] || [ "${ARCH}" = "mips64el" ] || [ "${ARCH}" = "mipsel" ] || [ "${ARCH}" = "s390x" ] || [ "${ARCH}" = "alpha" ] || [ "${ARCH}" = "hppa" ] || [ "${ARCH}" = "hurd-i386" ] || [ "${ARCH}" = "kfreebsd-i386" ] || [ "${ARCH}" = "powerpc" ] || [ "${ARCH}" = "ppc64" ] || [ "${ARCH}" = "sparc64" ]; then
+  echo "Skipping tests on problematic architectures"
+  exit 77
+fi
+
 for v in $(pg_buildext supported-versions); do
 	pg_virtualenv -v $v sh -e <<-'EOF'
 	# test extension (fuzzystrmatch is part of postgresql-contrib and is needed by postgis_tiger_geocoder)



View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/commit/d31f5aaa55148ced312c8d45ba003376c22aa92a

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/commit/d31f5aaa55148ced312c8d45ba003376c22aa92a
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/20200521/80c7b9b8/attachment-0001.html>


More information about the Pkg-grass-devel mailing list