I would like to know if it’s possible to run tests only for a specific module? I don’t want to run all of them just for a single one…
You can run tests whose name matches a regex with
-R, or whose label matches a regex with
-L, for example:
ctest -R Hyperspectral
I don’t know very well
ctest, is it equivalent to
I usually run tests in the following way:
cd build then
yes it is! But you can do more specific thing with ctest!
The basic I am using is :
-VV : verbose output
-L : label , with this if you want to test a module just type : ctest -L OTBModuleName
-R : regex
And without argument it launches all the tests available!