[Cmake-commits] CMake branch, next, updated. v2.8.12.2-1843-gde436a9

Brad King brad.king at kitware.com
Fri Feb 28 09:22:47 EST 2014


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  de436a9ba7fc380c15c0828db1f2469640e4a6e4 (commit)
       via  0a6f0280672f3b1a638cae4cf5144c1adccef754 (commit)
      from  731824fdb6b491554ec16f4544e221060748d75c (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=de436a9ba7fc380c15c0828db1f2469640e4a6e4
commit de436a9ba7fc380c15c0828db1f2469640e4a6e4
Merge: 731824f 0a6f028
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Feb 28 09:22:46 2014 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Feb 28 09:22:46 2014 -0500

    Merge topic 'no_gcov_error_msg' into next
    
    0a6f0280 CTest: notify user if gcov cannot be found


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0a6f0280672f3b1a638cae4cf5144c1adccef754
commit 0a6f0280672f3b1a638cae4cf5144c1adccef754
Author:     Zack Galbreath <zack.galbreath at kitware.com>
AuthorDate: Wed Feb 26 10:01:34 2014 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Feb 28 09:23:03 2014 -0500

    CTest: notify user if gcov cannot be found
    
    Emit an error message when we're performing coverage using
    gcov and the gcov executable cannot be found.

diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index 3c65c55..0503d94 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -871,6 +871,12 @@ int cmCTestCoverageHandler::HandleGCovCoverage(
 {
   std::string gcovCommand
     = this->CTest->GetCTestConfiguration("CoverageCommand");
+  if (gcovCommand.empty())
+    {
+    cmCTestLog(this->CTest, ERROR_MESSAGE,
+      "Could not find gcov." << std::endl);
+    return 0;
+    }
   std::string gcovExtraFlags
     = this->CTest->GetCTestConfiguration("CoverageExtraFlags");
 

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

Summary of changes:


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list