[Git][debian-gis-team/gdal-grass][master] Ignore ogrinfo failure on 32 bit architectures, instead of limiting autopkgtest architectures.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Mon Aug 7 20:55:18 BST 2023
Bas Couwenberg pushed to branch master at Debian GIS Project / gdal-grass
Commits:
1ce77160 by Bas Couwenberg at 2023-08-07T21:54:59+02:00
Ignore ogrinfo failure on 32 bit architectures, instead of limiting autopkgtest architectures.
- - - - -
3 changed files:
- debian/changelog
- debian/tests/control
- debian/tests/ogrinfo-gdalinfo
Changes:
=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
libgdal-grass (1:1.0.2-6) UNRELEASED; urgency=medium
- * Specify architectures on which not to run autopkgtest.
+ * Ignore ogrinfo failure on 32 bit architectures,
+ instead of limiting autopkgtest architectures.
-- Bas Couwenberg <sebastic at debian.org> Fri, 04 Aug 2023 20:18:26 +0200
=====================================
debian/tests/control
=====================================
@@ -3,5 +3,4 @@ Depends: ca-certificates,
gdal-bin,
libgdal-grass,
wget
-Restrictions: needs-internet
-Architecture: !armel !armhf !i386 !mipsel
+Restrictions: needs-internet, skippable
=====================================
debian/tests/ogrinfo-gdalinfo
=====================================
@@ -29,7 +29,7 @@ fi
GISBASE="$(ls -d /usr/lib/grass??)" \
PROJ_NETWORK=ON \
-ogrinfo -so -al ./spearfish*/PERMANENT/vector/roads/head
+gdalinfo ./spearfish*/PERMANENT/cellhd/geology
RC=$?
if [ "${RC}" -ne 0 ]; then
@@ -43,10 +43,15 @@ echo
GISBASE="$(ls -d /usr/lib/grass??)" \
PROJ_NETWORK=ON \
-gdalinfo ./spearfish*/PERMANENT/cellhd/geology
+ogrinfo -so -al ./spearfish*/PERMANENT/vector/roads/head
RC=$?
cd "${OLDPWD}" || exit 1
rm -rf "${TEMPDIR}"
+if [ "$(dpkg-architecture -qDEB_HOST_ARCH_BITS)" = "32" ]; then
+ echo "Ignoring test failures on 32 bit architecture"
+ RC=77
+fi
+
exit "${RC}"
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/-/commit/1ce771602eda4aa34ec6e50ea209644bf43de7fd
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/-/commit/1ce771602eda4aa34ec6e50ea209644bf43de7fd
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/20230807/ef964362/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list