[Git][debian-gis-team/postgis][experimental] Ignore test failures on i386.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Jul 4 06:37:12 BST 2022



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


Commits:
8b35a4d3 by Bas Couwenberg at 2022-07-04T07:37:00+02:00
Ignore test failures on i386.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+postgis (3.3.0~beta1+dfsg-1~exp3) UNRELEASED; urgency=medium
+
+  * Ignore test failures on i386.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 04 Jul 2022 07:36:47 +0200
+
 postgis (3.3.0~beta1+dfsg-1~exp2) experimental; urgency=medium
 
   * Add patch to fix FTBFS on s390x.


=====================================
debian/rules
=====================================
@@ -153,7 +153,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 #   Run unit tests (against the newest Postgres version, first)
 	echo " ### testing $(NEWEST_POSTGRES_VERSION) ###"
 # Ignore test failure on problematic architectures
-ifneq (,$(filter $(DEB_BUILD_ARCH),mips mips64el mipsel s390x alpha hppa hurd-i386 kfreebsd-i386 powerpc ppc64 sparc64))
+ifneq (,$(filter $(DEB_BUILD_ARCH),i386 mips mips64el mipsel s390x alpha hppa hurd-i386 kfreebsd-i386 powerpc ppc64 sparc64))
 	pg_virtualenv -v $(NEWEST_POSTGRES_VERSION) \
 		make check RUNTESTFLAGS="-v" || echo "Ignoring test failures"
 else
@@ -162,7 +162,7 @@ else
 endif
 
 #	Test against all other Postgres versions
-ifneq (,$(filter $(DEB_BUILD_ARCH),mips mips64el mipsel s390x alpha hppa hurd-i386 kfreebsd-i386 powerpc ppc64 sparc64))
+ifneq (,$(filter $(DEB_BUILD_ARCH),i386 mips mips64el mipsel s390x alpha hppa hurd-i386 kfreebsd-i386 powerpc ppc64 sparc64))
 	set -e; \
 	for PGVER in $(OTHER_POSTGRES_VERSIONS); do \
 		echo " ### testing $$PGVER ###"; \


=====================================
debian/tests/test-extension-creation
=====================================
@@ -8,7 +8,7 @@ unset LC_ALL LANGUAGE
 # 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
+if [ [ "${ARCH}" = "i386" ] || "${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



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

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/commit/8b35a4d3bcad11f69cbe71444cc52bd06953ecb3
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/20220704/202a7505/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list