WIP: Refactor test/CMakeLists.txt to adhere to ITK module convention#900
WIP: Refactor test/CMakeLists.txt to adhere to ITK module convention#900axel-grc wants to merge 1 commit intoRTKConsortium:mainfrom
Conversation
|
There is a problem with the example tests: with the ITK convention, tests are dispatched by the test driver and must provide an entrypoint like int (int,char**). The examples are standalone programs with a main(), and I don’t think it’s a good idea to rewrite their main just to fit the test driver pattern. For now, I kept the previous approach only for examples: build each example as its own executable and register it with CTest via itkTestDriver. Do you have any insight on this, @SimonRit |
I'm not following. This seems to be the convention of a |
94254f4 to
1b84313
Compare
- Changed the main function in various test files to specific test function names . - Updated the CMakeLists of tests to follow itk convention with createtestdriver
Close #896