CTest: Unable to find gcov, only find out if extra verbose output requested
ctest is run as a dashboard script and the script uses
ctest_coverage(), it relies on
CTEST_COVERAGE_COMMAND being set. If that is found to be empty, a message is logged to say so, but after the change in ae1cbff0, it is only seen if you request extra verbose output (i.e. use the
-VV option to
ctest). It used to be a warning, but now without extra verbose output, all you see in the log is the following misleading message:
Performing coverage Cannot find any coverage files. Ignoring Coverage request.
Only when you turn on extra verbose output do you see this:
Performing coverage COVFILE environment variable not found, not running bullseye Could not find gcov.
I lost nearly two days tracking down this issue, so I'd really like to see that commit reverted. Any objections @betsy.mcphail?