[Git][debian-gis-team/netcdf][master] 2 commits: Make autopkgtest more verbose.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sat Dec 16 13:45:02 GMT 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / netcdf


Commits:
960f86e9 by Bas Couwenberg at 2023-12-16T14:27:57+01:00
Make autopkgtest more verbose.

- - - - -
99481a51 by Bas Couwenberg at 2023-12-16T14:28:08+01:00
Set distribution to unstable.

- - - - -


2 changed files:

- debian/changelog
- debian/tests/netcdf-bin


Changes:

=====================================
debian/changelog
=====================================
@@ -1,11 +1,11 @@
-netcdf (1:4.9.2-3) UNRELEASED; urgency=medium
+netcdf (1:4.9.2-3) unstable; urgency=medium
 
   * Add upstream patch to finalize HDF5 library at exit.
     (closes: #1058621)
   * Update symbols file.
   * Add autopkgtest for netcdf utilities.
 
- -- Bas Couwenberg <sebastic at debian.org>  Wed, 13 Dec 2023 18:32:30 +0100
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 16 Dec 2023 14:27:57 +0100
 
 netcdf (1:4.9.2-2) unstable; urgency=medium
 


=====================================
debian/tests/netcdf-bin
=====================================
@@ -7,6 +7,7 @@ TEMPDIR="$(mktemp -d)"
 
 cd "${TEMPDIR}" || exit 1
 
+echo "Copying NetCDF file"
 nccopy "${SOURCE_FILE}" "${TARGET_FILE}"
 RC=$?
 
@@ -17,6 +18,8 @@ if [ "${RC}" -ne 0 ]; then
     exit "${RC}"
 fi
 
+echo
+echo "Comparing NetCDF files"
 SOURCE_KIND="$(ncdump -k "${SOURCE_FILE}")"
 TARGET_KIND="$(ncdump -k "${TARGET_FILE}")"
 
@@ -25,6 +28,15 @@ if [ "${SOURCE_KIND}" != "${TARGET_KIND}" ]; then
     RC=1
 fi
 
+if [ "${RC}" -ne 0 ]; then
+    cd "${OLDPWD}" || exit 1
+    rm -rf "${TEMPDIR}"
+
+    exit "${RC}"
+fi
+
+echo
+echo "Dumping NetCDF file"
 ncdump "${TARGET_FILE}"
 RC=$?
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/netcdf/-/compare/f9d8ba58e5388d67529fa45882116f189a4a1147...99481a5155c0b3692adecb675a086f0fcd58b3f1

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/netcdf/-/compare/f9d8ba58e5388d67529fa45882116f189a4a1147...99481a5155c0b3692adecb675a086f0fcd58b3f1
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/20231216/cd347e67/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list