[CMake] CTest: Cannot find any coverage files. Ignoring Coverage request.
emeplease
emeplease at gmail.com
Wed Aug 25 03:31:34 EDT 2010
Hi, I am going to enable coverage test in my project,
I have enabled the following compile options:
-----------------------------------------------------------------------------------------------
CXXFLAGS="-g -O0 -Wall -Wshadow \
-Wunused-function -Wunused -Wno-system-headers \
-Wno-deprecated -Woverloaded-virtual -Wwrite-strings -fprofile-arcs \
-ftest-coverage" \
CFLAGS="-g -O0 -Wall -W -fprofile-arcs -ftest-coverage" \
LDFLAGS="-fprofile-arcs -ftest-coverage" \
-----------------------------------------------------------------------------------------------
Inside DartConfiguration.tcl :
CoverageCommand: /usr/bin/gcov
-----------------------------------------------------------------------------------------------
Inside CMakeCache.txt :
COVERAGE_COMMAND:FILEPATH=/usr/bin/gcov
-----------------------------------------------------------------------------------------------
However, I am not able to use coverage test:
Performing coverage
Cannot find any coverage files. Ignoring Coverage request.
Thank you very much.
Regards,
Joseph
More information about the CMake
mailing list