Bug#949026: postgis: please ignore test results on s390x

Gianfranco Costamagna locutusofborg at debian.org
Thu Jan 16 08:26:15 GMT 2020


Source: postgis
Version: 3.0.0+dfsg-6
Severity: normal
Tags: patch

Hello, it looks like test results are ignored on s390x, in rules file.
Can you please ignore also them in autopkgtests?

thanks

diff -Nru postgis-3.0.0+dfsg/debian/tests/regress postgis-3.0.0+dfsg/debian/tests/regress
--- postgis-3.0.0+dfsg/debian/tests/regress     2019-12-08 18:10:29.000000000 +0100
+++ postgis-3.0.0+dfsg/debian/tests/regress     2020-01-15 11:39:23.000000000 +0100
@@ -21,11 +21,16 @@
 # clean up on exit
 trap "rm -rf /tmp/pgis_reg" EXIT

+check_fail="exit 2"
+if [ `dpkg --print-architecture` = 's390x' ]; then
+    check_fail="exit 0"
+fi
+
 # run the regession tests
 for v in $(pg_buildext supported-versions); do
   pg_virtualenv -v $v <<-EOF
        set -eux
-       make -C regress/core -f Makefile.in check PERL=perl RUNTESTFLAGS="--extension --verbose" POSTGIS_GEOS_VERSION=$POSTGIS_GEOS_VERSION
-       make -C regress/sfcgal -f Makefile.in check PERL=perl RUNTESTFLAGS="--extension --verbose" HAVE_SFCGAL=yes
+       make -C regress/core -f Makefile.in check PERL=perl RUNTESTFLAGS="--extension --verbose" POSTGIS_GEOS_VERSION=$POSTGIS_GEOS_VERSION || $check_fail
+       make -C regress/sfcgal -f Makefile.in check PERL=perl RUNTESTFLAGS="--extension --verbose" HAVE_SFCGAL=yes || $check_fail
        EOF
 done



More information about the Pkg-grass-devel mailing list