Various CI fixes for a lighter dashboard
Compare changes
Files
54+ 3
− 3
@@ -51,12 +51,12 @@ OTB_USE_QWT:BOOL=ON
Fixes to enable tests on the new CI, and reduce tests verbosity.
Enable the tests on new CI, and reduce the log output (#1867 (closed)).
There are different types of changes in this branch:
EXTRA_OPT --allow-run-as-root
)otb::WaveletOperatorBase
, a weird crash was breaking all wavelet tests.TestMain
, I made sure that the MPIFinalize()
is called in all cases, to avoid the application hanging at closure. Removed early return
.ApplicationLauncherCommandLine
, I had to disable MPIInit()
when -testenv
is present: since this option leaves exceptions uncaught, the MPIFinalize()
at the end of the application launcher is not called, and the TestDriver hangs on closure (see #1845 (closed)).TestMain
and TestHelper
: better parsing of options, support of the --tolerance-ratio
option (more details in the next section).otbLogMacro(Debug, ... )
to control test verbosity at runtime.No kwl metadata found in file ...
to Debug, I think it is more relevant to log information when metadata has actually been found.Modules/Learning/Supervised/test/TrainMachineLearningModel.cxx
In order to reduce the number of baselines, I introduced an new option for the test driver: --tolerance-ratio
. It defines what percentage of the data can fail the epsilon check. For the moment it only applies to the image comparisons. For instance, passing the option --tolerance-ratio 0.01
means that the number of pixels with difference should be less than 1% of all pixels. By default, this tolerance is 0.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging: