[med-svn] [Git][med-team/insighttoolkit][master] 3 commits: Make itkOptImageToImageMetricsTest04 not to fail on single-CPU systems. Closes: #1105896.

Santiago Vila (@sanvila) gitlab at salsa.debian.org
Wed May 21 23:59:00 BST 2025



Santiago Vila pushed to branch master at Debian Med / insighttoolkit


Commits:
108ad9f9 by Santiago Vila at 2025-05-22T00:30:00+02:00
Make itkOptImageToImageMetricsTest04 not to fail on single-CPU systems. Closes: #1105896.

- - - - -
012f7b75 by Santiago Vila at 2025-05-22T00:35:00+02:00
Update standards-version.

- - - - -
a0ee84a7 by Santiago Vila at 2025-05-22T00:40:00+02:00
Upload for unstable as 5.4.3-5

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/0004-fix-itkOptImageToImageMetricsTest04.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+insighttoolkit5 (5.4.3-5) unstable; urgency=medium
+
+  * Team upload.
+  * Make itkOptImageToImageMetricsTest04 not to fail on single-CPU systems.
+    Closes: #1105896.
+  * Update standards-version.
+
+ -- Santiago Vila <sanvila at debian.org>  Thu, 22 May 2025 00:40:00 +0200
+
 insighttoolkit5 (5.4.3-4) unstable; urgency=medium
 
   [ Steve Robbins ]


=====================================
debian/control
=====================================
@@ -21,7 +21,7 @@ Build-Depends: debhelper-compat (= 13),
                libminc-dev,
                libnifti2-dev,
                libhdf5-dev
-Standards-Version: 4.6.2
+Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/med-team/insighttoolkit
 Vcs-Git: https://salsa.debian.org/med-team/insighttoolkit.git
 Homepage: http://www.itk.org/


=====================================
debian/patches/0004-fix-itkOptImageToImageMetricsTest04.patch
=====================================
@@ -0,0 +1,25 @@
+From: Niels Dekker <N.Dekker at lumc.nl>
+Subject: Make itkOptImageToImageMetricsTest04 not to fail on single-CPU systems
+Bug-Debian: https://bugs.debian.org/1105896
+Origin: https://github.com/InsightSoftwareConsortium/ITK/commit/57b138cf150e097340b75e7f37eee061da80c627
+Last-Update: 2025-05-16
+
+--- a/Modules/Nonunit/Review/test/itkOptImageToImageMetricsTest2.h
++++ b/Modules/Nonunit/Review/test/itkOptImageToImageMetricsTest2.h
+@@ -81,16 +81,6 @@
+     // so we seed the random number generator
+     // immediately before this call.
+     metric->Initialize();
+-
+-    // Verify that Initialize has properly called
+-    // MultiThreadingInitialize() and a series of CreateAnother();
+-
+-    using TransformPointer = typename MetricType::TransformPointer;
+-    const TransformPointer * transformPtr = metric->GetThreaderTransform();
+-    if ((transformPtr == static_cast<const TransformPointer *>(nullptr)) || (transformPtr[0].IsNull()))
+-    {
+-      exit(EXIT_FAILURE);
+-    }
+   }
+   // Other registration functionality tested in
+   // OptImageToImageTest.cxx... skip the rest


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 0001-Fix-building-and-running-with-system-MINC.patch
 0002-fix-build-gcc15.patch
 0003-fix-fftw-include.patch
+0004-fix-itkOptImageToImageMetricsTest04.patch



View it on GitLab: https://salsa.debian.org/med-team/insighttoolkit/-/compare/2058f7e590aad5dae4427987664a7fba06302ce4...a0ee84a71fe349f43124833364cec47623bfd52e

-- 
View it on GitLab: https://salsa.debian.org/med-team/insighttoolkit/-/compare/2058f7e590aad5dae4427987664a7fba06302ce4...a0ee84a71fe349f43124833364cec47623bfd52e
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/20250521/81867e40/attachment-0001.htm>


More information about the debian-med-commit mailing list