[Cmake-commits] CMake branch, next, updated. v3.7.0-1262-g81e1cb2
Brad King
brad.king at kitware.com
Fri Nov 18 09:36:41 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 81e1cb2159aad135d603c5aaac4d62ef6f6dd2a1 (commit)
via a1034851bb36621dd91206b4060476db522fa7b3 (commit)
from 723b9b35bf191161abb4179c7a10c65dedecfb46 (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=81e1cb2159aad135d603c5aaac4d62ef6f6dd2a1
commit 81e1cb2159aad135d603c5aaac4d62ef6f6dd2a1
Merge: 723b9b3 a103485
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Nov 18 09:36:40 2016 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Nov 18 09:36:40 2016 -0500
Merge topic 'capture-clang-tidy-errors' into next
a1034851 fixup! cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zero
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a1034851bb36621dd91206b4060476db522fa7b3
commit a1034851bb36621dd91206b4060476db522fa7b3
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Nov 18 09:36:15 2016 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Fri Nov 18 09:36:23 2016 -0500
fixup! cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zero
diff --git a/Tests/RunCMake/ClangTidy/C-bad-Build-stdout.txt b/Tests/RunCMake/ClangTidy/C-bad-Build-stdout.txt
index 94b967f..2370ce1 100644
--- a/Tests/RunCMake/ClangTidy/C-bad-Build-stdout.txt
+++ b/Tests/RunCMake/ClangTidy/C-bad-Build-stdout.txt
@@ -1 +1,2 @@
-bad command line arg '-bad'
+stdout from bad command line arg '-bad'
+stderr from bad command line arg '-bad'
diff --git a/Tests/RunCMake/pseudo_tidy.c b/Tests/RunCMake/pseudo_tidy.c
index f435e47..2feeb0f 100644
--- a/Tests/RunCMake/pseudo_tidy.c
+++ b/Tests/RunCMake/pseudo_tidy.c
@@ -6,7 +6,8 @@ int main(int argc, char* argv[])
int i;
for (i = 1; i < argc; ++i) {
if (strcmp(argv[i], "-bad") == 0) {
- fprintf(stderr, "bad command line arg '-bad'\n");
+ fprintf(stdout, "stdout from bad command line arg '-bad'\n");
+ fprintf(stderr, "stderr from bad command line arg '-bad'\n");
return 1;
}
if (argv[i][0] != '-') {
-----------------------------------------------------------------------
Summary of changes:
Tests/RunCMake/ClangTidy/C-bad-Build-stdout.txt | 3 ++-
Tests/RunCMake/pseudo_tidy.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list