[CMake] How do I access the --extra-verbose option for ctest for my tests?

Orion Poplawski orion at cora.nwra.com
Fri Aug 15 17:19:01 EDT 2008


Alan W. Irwin wrote:
> Assume that I have added a test with
> 
> add_test(testname myshell_script.sh arg1 arg2 ...)
> 
> Currently ctest with no --verbose or --extra-verbose options suppresses all
> output from the script and ctest with either the --verbose or
> --extra-verbose option allows all output from the script, i.e., the way I
> have set up my script now there appears to be no difference between the
> --verbose and --extra-verbose ctest options.

Looking at the cmake code it doesn't look like this is passed on in any way.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the CMake mailing list