[Cmake-commits] CMake branch, next, updated. v3.7.0-1268-gdc97bfc
Brad King
brad.king at kitware.com
Fri Nov 18 09:42:58 EST 2016
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 dc97bfc8af0895adadcce4ccd6f2099d70c44e5a (commit)
via 18fdff2efc3abf56166d6cd716677c115e5c02ac (commit)
from b38ffa4addb71b12e00a5b09052b0e24b59f6544 (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dc97bfc8af0895adadcce4ccd6f2099d70c44e5a
commit dc97bfc8af0895adadcce4ccd6f2099d70c44e5a
Merge: b38ffa4 18fdff2
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Nov 18 09:42:57 2016 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Nov 18 09:42:57 2016 -0500
Merge topic 'capture-clang-tidy-errors' into next
18fdff2e fixup! cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zero
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=18fdff2efc3abf56166d6cd716677c115e5c02ac
commit 18fdff2efc3abf56166d6cd716677c115e5c02ac
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Nov 18 09:41:36 2016 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Fri Nov 18 09:41:36 2016 -0500
fixup! cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zero
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index ff25427..f1ce75a 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -362,7 +362,8 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
if (!cmSystemTools::RunSingleCommand(tidy_cmd, &stdOut, &stdErr, &ret,
CM_NULLPTR,
cmSystemTools::OUTPUT_NONE)) {
- std::cerr << "Error running '" << tidy_cmd[0] << "':\n" << stdErr;
+ std::cerr << "Error running '" << tidy_cmd[0] << "': " << stdErr
+ << "\n";
return 1;
}
// Output the stdout from clang-tidy to stderr
-----------------------------------------------------------------------
Summary of changes:
Source/cmcmd.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list