Commit 3bac4ac
committed
ENH: Run itkSimpleImageRegistrationTest fully in Debug builds
The test reduced the affine and deformable optimizers to a single
iteration when NDEBUG was undefined, a 2013 stopgap for Debug wall
time. A one-iteration registration stops at near-identity and tests
nothing useful, and its output required a Debug-only baseline.
That baseline was itkSimpleImageRegistrationTest.3.nii, dropped as
stale when the baselines were regenerated for the
JointHistogramMutualInformation fix in PR #6569. Since then every
Debug build that runs these tests has failed them: corista.kitware
Ubuntu-22.04-gcc11.4-TBB-Debug, ryzenator.kitware
Windows11-VS2022-Static-DebugTBB, RogueResearch19
Mac27.x-AppleClang-dbg-arm64, and the SimpleITK itk-coverage nightly.
ITK's own Azure Debug job excludes the RUNS_LONG label, so PR CI
never ran them.
Using the full iteration counts makes the Debug result bit-identical
to Release, so the existing baselines cover both and no Debug-only
baseline can go stale again. Measured on gcc 13.3 x86_64: the pair
takes 44 s wall under ctest -j2 (42 s + 44 s serial), against 5 s
for the one-iteration form.1 parent 07382b5 commit 3bac4ac
1 file changed
Lines changed: 0 additions & 8 deletions
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | 228 | | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | 229 | | |
234 | 230 | | |
235 | 231 | | |
| |||
293 | 289 | | |
294 | 290 | | |
295 | 291 | | |
296 | | - | |
297 | 292 | | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | 293 | | |
302 | 294 | | |
303 | 295 | | |
| |||
0 commit comments