[Cmake-commits] CMake branch, next, updated. v2.8.12.2-1777-g184447b
Zack Galbreath
zack.galbreath at kitware.com
Wed Feb 26 10:07:02 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 184447b6e04996a63abe9d71eb75908c14fdb137 (commit)
via f7cd11e183e1631f07612cfded347577f9ab5c83 (commit)
from 336cca152b3ffe685f4962a5efd8c8d4691848d6 (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=184447b6e04996a63abe9d71eb75908c14fdb137
commit 184447b6e04996a63abe9d71eb75908c14fdb137
Merge: 336cca1 f7cd11e
Author: Zack Galbreath <zack.galbreath at kitware.com>
AuthorDate: Wed Feb 26 10:07:02 2014 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Feb 26 10:07:02 2014 -0500
Merge topic 'no_gcov_error_msg' into next
f7cd11e1 notify user if gcov cannot be found
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f7cd11e183e1631f07612cfded347577f9ab5c83
commit f7cd11e183e1631f07612cfded347577f9ab5c83
Author: Zack Galbreath <zack.galbreath at kitware.com>
AuthorDate: Wed Feb 26 10:01:34 2014 -0500
Commit: Zack Galbreath <zack.galbreath at kitware.com>
CommitDate: Wed Feb 26 10:01:34 2014 -0500
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..5292ece 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.size() == 0)
+ {
+ cmCTestLog(this->CTest, ERROR_MESSAGE,
+ "Could not find gcov." << std::endl);
+ return 0;
+ }
std::string gcovExtraFlags
= this->CTest->GetCTestConfiguration("CoverageExtraFlags");
-----------------------------------------------------------------------
Summary of changes:
Source/CTest/cmCTestCoverageHandler.cxx | 6 ++++++
1 file changed, 6 insertions(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list