[Git][debian-gis-team/gdal-grass][master] Use exit status 77 only if ogrinfo failed.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Aug 9 11:57:04 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / gdal-grass


Commits:
f00a9d93 by Bas Couwenberg at 2023-08-09T12:56:47+02:00
Use exit status 77 only if ogrinfo failed.

- - - - -


1 changed file:

- debian/tests/gdalinfo-ogrinfo


Changes:

=====================================
debian/tests/gdalinfo-ogrinfo
=====================================
@@ -49,7 +49,8 @@ RC=$?
 cd "${OLDPWD}" || exit 1
 rm -rf "${TEMPDIR}"
 
-if [ "$(dpkg-architecture -qDEB_HOST_ARCH_BITS 2> /dev/null)" = "32" ]; then
+# ogrinfo fails on 32bit architectures: https://github.com/OSGeo/grass/issues/2631
+if [ "${RC}" -ne 0 ] && [ "$(dpkg-architecture -qDEB_HOST_ARCH_BITS 2> /dev/null)" = "32" ]; then
     echo "Ignoring test failures on 32 bit architecture"
     RC=77
 fi



View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/-/commit/f00a9d93a5aedbae4dc8aec6e6a658abb8e848c9

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/-/commit/f00a9d93a5aedbae4dc8aec6e6a658abb8e848c9
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/20230809/1785db53/attachment.htm>


More information about the Pkg-grass-devel mailing list