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

Santiago Vila (@sanvila) gitlab at salsa.debian.org
Thu May 22 21:42:16 BST 2025



Santiago Vila pushed to branch itk-4.y at Debian Med / insighttoolkit


Commits:
2d70200c by Santiago Vila at 2025-05-22T14:35:43+02:00
Make itkOptImageToImageMetricsTest04 not to fail on single-CPU systems. Closes: #1105896.

- - - - -
d1a6f3fb by Santiago Vila at 2025-05-22T14:38:40+02:00
Upload for bookworm as 4.13.3withdata-dfsg2-4+deb12u1

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+insighttoolkit4 (4.13.3withdata-dfsg2-4+deb12u1) bookworm; urgency=medium
+
+  * Team upload.
+  * Make itkOptImageToImageMetricsTest04 not to fail on single-CPU systems.
+    Closes: #1105896.
+
+ -- Santiago Vila <sanvila at debian.org>  Thu, 22 May 2025 14:35:00 +0200
+
 insighttoolkit4 (4.13.3withdata-dfsg2-4) unstable; urgency=medium
 
   * d/rules: add -fno-sized-deallocation; fix ftbfs with gcc-12.


=====================================
debian/patches/fix-itkOptImageToImageMetricsTest04.patch
=====================================
@@ -0,0 +1,27 @@
+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
+@@ -80,18 +80,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();
+-
+-    typedef typename MetricType::TransformPointer TransformPointer;
+-    const TransformPointer *transformPtr= metric->GetThreaderTransform();
+-    if ((transformPtr==static_cast<const TransformPointer *>(ITK_NULLPTR))||
+-        (transformPtr[0].IsNull()))
+-      {
+-      exit(EXIT_FAILURE);
+-      }
+-
+     }
+     //Other registration functionality tested in
+     //OptImageToImageTest.cxx... skip the rest


=====================================
debian/patches/series
=====================================
@@ -14,3 +14,4 @@ ignore_failing_test.patch
 gcc11.patch
 python3.10.patch
 denoise-build-log.patch
+fix-itkOptImageToImageMetricsTest04.patch



View it on GitLab: https://salsa.debian.org/med-team/insighttoolkit/-/compare/434514b6974295367f1d0e4af3255847160d490c...d1a6f3fb8e9001c7255841eac2b22b3fd7d07f7d

-- 
View it on GitLab: https://salsa.debian.org/med-team/insighttoolkit/-/compare/434514b6974295367f1d0e4af3255847160d490c...d1a6f3fb8e9001c7255841eac2b22b3fd7d07f7d
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/20250522/2e4e8080/attachment-0001.htm>


More information about the debian-med-commit mailing list