[med-svn] [Git][med-team/gdcm][master] 3 commits: change test data

Mohd Bilal (@rmb) gitlab at salsa.debian.org
Wed Aug 3 19:31:30 BST 2022



Mohd  Bilal pushed to branch master at Debian Med / gdcm


Commits:
c2454b27 by Mohammed Bilal at 2022-08-03T18:29:18+00:00
change test data

- - - - -
8b6a9bae by Mohammed Bilal at 2022-08-03T18:29:33+00:00
Fix autopkgtest for s390

- - - - -
5b81f3dc by Mohammed Bilal at 2022-08-03T18:30:07+00:00
Update changelog

- - - - -


7 changed files:

- debian/changelog
- debian/copyright
- debian/examples
- debian/source/include-binaries
- + debian/tests/data/00191113.dcm
- − debian/tests/data/gdcm-US-ALOKA-16.dcm
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+gdcm (3.0.13-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * change test data
+  * Fix autopkgtest for s390 (Closes: #1016450)
+
+ -- Mohammed Bilal <mdbilal at disroot.org>  Wed, 03 Aug 2022 18:26:25 +0000
+
 gdcm (3.0.13-2) unstable; urgency=medium
 
   [ Mohammed Bilal ]


=====================================
debian/copyright
=====================================
@@ -428,7 +428,7 @@ License: socketxx
  paragraph are  preserved on all copies.  This software is provided "as is"
  with no express or implied warranty
 
-Files: debian/tests/data/gdcm-US-ALOKA-16.dcm
+Files: debian/tests/data/00191113.dcm
 Copyright: 2006-2011 Mathieu Malaterre
 License: Apache-2.0
 


=====================================
debian/examples
=====================================
@@ -1 +1 @@
-debian/tests/data/gdcm-US-ALOKA-16.dcm
+debian/tests/data/00191113.dcm


=====================================
debian/source/include-binaries
=====================================
@@ -1 +1 @@
-debian/tests/data/gdcm-US-ALOKA-16.dcm
+debian/tests/data/00191113.dcm


=====================================
debian/tests/data/00191113.dcm
=====================================
Binary files /dev/null and b/debian/tests/data/00191113.dcm differ


=====================================
debian/tests/data/gdcm-US-ALOKA-16.dcm deleted
=====================================
Binary files a/debian/tests/data/gdcm-US-ALOKA-16.dcm and /dev/null differ


=====================================
debian/tests/run-unit-test
=====================================
@@ -13,29 +13,33 @@ cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
 
 cd "${AUTOPKGTEST_TMP}"
 
-echo "20e289bad9be67e22d179174f3bc1694  output.dcm" >> checksums
-echo "f85ff02a143c426edc4b2f6b9a175305  pixeldata.raw" >> checksums
-echo "89fe9eab980f09ddbcd2c7f040b36d24  output_black.dcm" >> checksums
+echo "6234a50361f02cb9a739755d63cdd673  output.dcm" >> checksums
+echo "ca2df89fe6e206514079597eb8ab070f  pixeldata.raw" >> checksums
 
 echo -e "\e[93m\e[1mRunning Tests\e[0m"
 
-gdcmanon --password password -e gdcm-US-ALOKA-16.dcm anon.dcm
+gdcmanon --password password -e 00191113.dcm anon.dcm
 
 echo -e "\e[92m\e[1mPASS\e[0m"
 
-gdcminfo gdcm-US-ALOKA-16.dcm
+gdcminfo 00191113.dcm
 
 echo -e "\e[92m\e[1mPASS\e[0m"
 
-gdcmimg --fill 0 --region 0,100,0,100 -i gdcm-US-ALOKA-16.dcm -o output_black.dcm
+gdcmimg --fill 0 --region 0,100,0,100 -i 00191113.dcm -o output_black.dcm
 
-gdcmconv gdcm-US-ALOKA-16.dcm output.dcm
+gdcmconv 00191113.dcm output.dcm
 
-gdcmraw -i gdcm-US-ALOKA-16.dcm -o pixeldata.raw
+gdcmraw -i 00191113.dcm -o pixeldata.raw
 
 md5sum --check checksums
 
-echo -e "\e[92m\e[1mPASS\e[0m"
+#check for output file since md5hash varies in s390
+if [ -f "output_black.dcm" ]; then
+    echo -e "\e[92m\e[1mPASS\e[0m"
+else
+    echo -e "\e[1;31FAILED!"
+fi
 
 gdcmdump output.dcm
 



View it on GitLab: https://salsa.debian.org/med-team/gdcm/-/compare/72e3823a09d7f816b3a8c650a3598d8f12de0c92...5b81f3dcf71642cecb15f91ec0f07e614fcde562

-- 
View it on GitLab: https://salsa.debian.org/med-team/gdcm/-/compare/72e3823a09d7f816b3a8c650a3598d8f12de0c92...5b81f3dcf71642cecb15f91ec0f07e614fcde562
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/debian-med-commit/attachments/20220803/3b539fae/attachment-0001.htm>


More information about the debian-med-commit mailing list