[Cmake-commits] CMake branch, next, updated. v2.8.7-2628-g4daa71e

Rolf Eike Beer eike at sf-mail.de
Wed Feb 15 15:49:57 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  4daa71ed4ae3e8cf98b7e39281569fd30a6a7b95 (commit)
       via  58d75e22ae3ed4279b0596eeab73063719bb61d0 (commit)
      from  6167eedd70e5a97b60194ca16d5e3dd344824662 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4daa71ed4ae3e8cf98b7e39281569fd30a6a7b95
commit 4daa71ed4ae3e8cf98b7e39281569fd30a6a7b95
Merge: 6167eed 58d75e2
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Wed Feb 15 15:49:55 2012 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Feb 15 15:49:55 2012 -0500

    Merge topic 'honor-gcov-empty-coverage' into next
    
    58d75e2 CTest: mark all gcov covered files as covered


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=58d75e22ae3ed4279b0596eeab73063719bb61d0
commit 58d75e22ae3ed4279b0596eeab73063719bb61d0
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Wed Feb 15 21:45:30 2012 +0100
Commit:     Rolf Eike Beer <eike at sf-mail.de>
CommitDate: Wed Feb 15 21:45:30 2012 +0100

    CTest: mark all gcov covered files as covered
    
    Even if there are no lines covered in the file the gcov coverage report still
    contains valueable information, the amount of uncovered lines and which exactly
    they are. Set 'Covered="true"' for files we have a gcov report for even if they
    have no lines covered. Otherwise CDash will neither show the uncovered line
    count nor the detailed coverage report for this file.
    
    When CTEST_EXTRA_COVERAGE_GLOB was used to collect otherwise uncovered files
    'Covered="true"' was unconditionally set, so this can't be worse here.

diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index 0b1c9fe..309abb1 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -555,7 +555,7 @@ int cmCTestCoverageHandler::ProcessHandler()
     covSumFile << "\t<File Name=\"" << cmXMLSafe(fileName)
       << "\" FullPath=\"" << cmXMLSafe(
         this->CTest->GetShortPathToFile(fullFileName.c_str()))
-      << "\" Covered=\"" << (tested > 0 ? "true":"false") << "\">\n"
+      << "\" Covered=\"" << (tested+untested > 0 ? "true":"false") << "\">\n"
       << "\t\t<LOCTested>" << tested << "</LOCTested>\n"
       << "\t\t<LOCUnTested>" << untested << "</LOCUnTested>\n"
       << "\t\t<PercentCoverage>";

-----------------------------------------------------------------------

Summary of changes:
 Source/CTest/cmCTestCoverageHandler.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list