Bas Couwenberg pushed to branch experimental at Debian GIS Project / postgis
Commits:
046debb4 by Bas Couwenberg at 2022-05-22T19:12:39+02:00
Drop regress autopkgtest, no longer works.
- - - - -
2 changed files:
- debian/tests/control
- − debian/tests/regress
Changes:
=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
Depends: @, postgresql-server-dev-all, postgresql-all
-Tests: test-extension-creation regress
+Tests: test-extension-creation
Restrictions: allow-stderr, skippable
=====================================
debian/tests/regress deleted
=====================================
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-set -eux
-
-# link shape loader/dumper to where the testsuite expects them
-for prg in shp2pgsql pgsql2shp; do
- test -x loader/$prg || ln -s /usr/bin/$prg loader/$prg
-done
-
-# delete test directory before possibly switching user
-rm -rf /tmp/pgis_reg
-
-# re-start ourselves as nobody since PG can't run as root
-if [ "$(id -un)" = "root" ]; then
- exec su nobody -s /bin/sh "$0" "$@"
-fi
-
-# Makefile.in needs some variables from ./configure, set the most important
ones here
-POSTGIS_GEOS_VERSION="$(dpkg-query -f '${Version}' --show 'libgeos-*.*' | cut
-c 1,3)"
-
-# 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
-
-# clean up on exit
-trap "rm -rf /tmp/pgis_reg" EXIT
-
-# run the regression tests
-for v in $(pg_buildext installed-versions); do
- case $v in
- *.*) POSTGIS_PGSQL_VERSION=$(echo $v | tr -d .) ;;
- *) POSTGIS_PGSQL_VERSION="${v}0" ;;
- esac
- case $v in
- *.*|10) HAVE_SPGIST=no ;;
- *) HAVE_SPGIST=yes ;;
- esac
- pg_virtualenv -v $v <<-EOF
- set -eux
- make -C regress/core -f Makefile.in check PERL=perl
RUNTESTFLAGS="--extension --verbose"
POSTGIS_PGSQL_VERSION=$POSTGIS_PGSQL_VERSION
POSTGIS_GEOS_VERSION=$POSTGIS_GEOS_VERSION HAVE_SPGIST=$HAVE_SPGIST
- make -C sfcgal/regress -f Makefile.in check PERL=perl
RUNTESTFLAGS="--extension --verbose"
POSTGIS_PGSQL_VERSION=$POSTGIS_PGSQL_VERSION HAVE_SFCGAL=yes
- EOF
-done
View it on GitLab:
https://salsa.debian.org/debian-gis-team/postgis/-/commit/046debb4c94b256fb396d3b7c8cd920897ac6809
--
View it on GitLab:
https://salsa.debian.org/debian-gis-team/postgis/-/commit/046debb4c94b256fb396d3b7c8cd920897ac6809
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel