Closed seanm closed 1 week ago
@dzenanz how would I solve the case with the ITK_TEST_SET_GET_VALUE
macro? I'm not sure what to use instead...
Thanks @seanm !
There's one more failing test that I hope to figure out and add here...
OK, I don't get it... need help :)
It's this code:
The test fails with Failed to catch expected exception
.
The call to dummySrc->SetNumberOfWorkUnits(4)
will be clamped down from 4 to 2 (my ITK_DEFAULT_MAX_THREADS
), so I thought changing the hardedcoded for
loop from 4 would fix it, but alas no (though that change maybe necessary too, but insufficient).
Nothing jumps at me. I guess some digging is needed into DummyImageSource
.
I took a wild guess: there was another 4
in the code. Changing that fixed it.
If this looks good to y'all, would be nice to merge, as it will green up cdash a bit.
Seems this broke the build, depending on build options: https://open.cdash.org/viewBuildError.php?buildid=10179364
fix: https://github.com/InsightSoftwareConsortium/ITK/pull/5200
…Threads()