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. I would like more control over the verbosity from the script at ctest time. I can do all the script side logic for that with the script verbosity controlled by the script options (in reality called --verbose and --extra-verbose, but to keep them distinct from the ctest options let's call them --chatty and --chattier for the purposes of this question). How do I arrange for the --chatty option to be used when ctest is invoked with --verbose and the --chattier option to be used when ctest is invoked with --extra-verbose? Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake