TestDriver : returns EXIT_SUCCESS when test is not registered
Mantis Issue 298, reported by jmalik, assigned to jmalik, created: 2011-05-13
Running the test executable with an unregistered test ID make it returns with success. When ctest launch the test, it appears as PASSED
1305284224 - julienmAnother related issue (minor) : when properly added with REGISTER TEST, when the test return EXIT_FAILURE (before baseline comparison if any), it outputs the registered tests names
jmalik@hulk:~/dev/build/OTB$ /home/jmalik/dev/build/OTB/bin/otbCommonTests3 "otbMultiToMonoChannelExtractROITestRegion" otbMultiToMonoChannelExtractROITestRegion Input LargestPossibleRegion : ImageRegion (0x24c62a8) Dimension: 2 Index: [0, 0] Size: [100, 100]
ExtractionRegion : ImageRegion (0x7fff0155dc30) Dimension: 2 Index: [50, 50] Size: [10, 10]
Output LargestPossibleRegion : ImageRegion (0x24cd018) Dimension: 2 Index: [0, 0] Size: [10, 10]
-> Test EXIT FAILURE (1). otbTestMain 'otbMultiToMonoChannelExtractROITestRegion': ITK Exception thrown: /home/jmalik/dev/src/OTB/Code/Testing/otbTestMain.h:278: itk::ERROR: Function returns EXIT_FAILURE (no regression test) Tests available: 0. otbDrawLineSpatialObject
- otbDrawLineSpatialObjectList
- otbDrawLineSpatia