How are you running ctest to try to get the coverage reported? With -D NightlyCoverage? With a -S script?
What version of ctest? On Wed, Aug 25, 2010 at 3:31 AM, emeplease <emeple...@gmail.com> wrote: > > > 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 > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake