Automatic headers tests generation is buggy
Mantis Issue 1181, reported by mgrizonnet, assigned to gpasero, created: 2016-04-07
OTB tests use a Python script BuildHeaderTest.py to generates a a source file designed to check the headers in each module. The generated HeaderTest can be found in the module binary 'test' directory and contains a null main().
This script was copied from ITK.
The script parse .hxx header file to the list. It should be .txx in case of OTB.
https://git.orfeo-toolbox.org/otb.git/blob/HEAD:/Utilities/Maintenance/BuildHeaderTest.py#l112
I notice this trying to rename .txx to .hxx in OTB. I end up renaming headers for now.
1460036088 - gpaseroWell spotted, I don't think we need to add *.txx or *.hxx in our header tests. They will be included anyway at the end of the header .h.
1468946577 - gpaseroFixed : https://git.orfeo-toolbox.org/otb.git/commit/39dd9921af95855fa4401dd1cb93cc30df8de6c3
The script handles both hxx and txx.