InsightSoftwareConsortium / ITKModuleTemplate

A template to start an ITK Module
https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch9.html#x50-1430009
Apache License 2.0
12 stars 17 forks source link

ENH: Use the `itkNameOfTestExecutableMacro` to get the test name #63

Closed jhlegarreta closed 5 years ago

jhlegarreta commented 5 years ago

Use the itkNameOfTestExecutableMacro to get the test name and prevent the the test from crashing when argv[0] is null, as recommended in: https://github.com/InsightSoftwareConsortium/ITK/pull/564

jhlegarreta commented 5 years ago

The CI's failing is due to the fact that the ITK commit being tested against is eb54c22633fb0751574163a204714daa1e0de2ff, which dates back to Jan 30, and corresponds to v5.0rc01.

The macro at issue was still not present at that time in the itkTestingMacros.h file (was added on 4 Mar).

thewtex commented 5 years ago

Thanks @jhlegarreta !

We can bump the ITK versions the Azure Pipelines configuration after 5.0 RC 2 is released, then this will be green for merge.

thewtex commented 5 years ago

Rebasing on master...

thewtex commented 5 years ago

Thanks @jhlegarreta !

jhlegarreta commented 5 years ago

:+1: @thewtex !