Hi Fred,

This was fixed in CMake 2.2. CTest in CMake 2.2 supports Gcov up to the version 4.*.

      Andy

Wheeler, Frederick W (GE, Research) wrote:

As of version 3.4, gcc has changed the format of the coverage files you get with options 
-fprofile-arcs -ftest-coverage.  Also, the coverage files now have suffixes .gcno and 
.gcda.  On a ctest build/test/submit run with coverage, ctest prints "Cannot find 
any coverage information files (.da)".  There are plenty of .gcno and .gcda files in 
the build tree, but it does not seem to be looking for them.  Is there a solution?

This changes file briefly notes the coverage file format change.

 http://gcc.gnu.org/gcc-3.4/changes.html

Ctest output:

99% tests passed, 1 tests failed out of 553
The following tests FAILED:
       417 - rgrl_estimator (Failed)
Performing coverage
Cannot find any coverage information files (.da)
Create notes file
       Add file: 
/home/wheeler/dash/vxl-nightly-galup/vxl_bld/Testing/HTML/TestingResults/Sites/crd.ge.com/FreeBSD-6.0_gcc-3.4.4_-Wall_profile_static/BuildNameNotes.xml
Submit files (using ftp)

Some version info:

0% gcc --version
gcc (GCC) 3.4.4 [FreeBSD] 20050518
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'm using stect from FreeBSD pkg_add.

0% ctest --version
ctest version 2.0.6

0% uname -a
FreeBSD red.local.domain 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Tue Feb  7 
15:48:19 EST 2006     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


--
Andy Cedilnik
Kitware Inc.

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to