[Git][debian-gis-team/flox][master] 2 commits: Disable autopkgtests on 32bit architectures

Sebastiaan Couwenberg sebastic at xs4all.nl
Tue Jan 10 04:21:19 GMT 2023


On 1/9/23 23:02, Antonio Valentino (@antonio.valentino) wrote:
> =====================================
> debian/tests/python3
> =====================================
> @@ -1,6 +1,15 @@
>   #!/bin/sh
>   set -efu
>   
> +# Skip tests on problematic architectures
> +ARCH="$(dpkg-architecture -qDEB_BUILD_ARCH)"
> +
> +if [ "${ARCH}" = "armel" -o "${ARCH}" = "armhf" -o "${ARCH}" = "i386" ]
> +then
> +  echo "Skipping tests on problematic architectures"
> +  exit 77
> +fi
> +
>   PYS=${PYS:-"$(py3versions -s 2>/dev/null)"}
>   TESTPKG=${TESTPKG:-flox}
>   TESTDIR=${PWD}/tests

You need to mark the test as skippable for exit status 77 to work:

  Restrictions: skippable

https://salsa.debian.org/debian-gis-team/postgis/-/blob/master/debian/tests/control

Or you need to list the supported architectures:

  Architecture: amd64 arm64 ppc64el s390x

https://salsa.debian.org/debian-gis-team/gdal-grass/-/blob/master/debian/tests/control

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1




More information about the Pkg-grass-devel mailing list