aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/distrib/run_clang_tidy.py
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-01-24 10:58:25 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2018-01-24 10:58:25 -0800
commitea8027a0b1b5ca2ba2e29f9924d5c164cc75aba1 (patch)
treea8409e75cbf9966c0aad4fc5df5d8af33dc59fa6 /tools/distrib/run_clang_tidy.py
parent7cbbee745e84d714f826e54fdbc93499341e7fa3 (diff)
parent5e7eed29ed747a24a91c3d202066e64d0478d5db (diff)
Merge branch 'master' into badclient
Diffstat (limited to 'tools/distrib/run_clang_tidy.py')
-rwxr-xr-xtools/distrib/run_clang_tidy.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/distrib/run_clang_tidy.py b/tools/distrib/run_clang_tidy.py
index 72d7956b68..337e6b43c8 100755
--- a/tools/distrib/run_clang_tidy.py
+++ b/tools/distrib/run_clang_tidy.py
@@ -26,6 +26,8 @@ import jobset
GRPC_CHECKS = [
'modernize-use-nullptr',
+ 'google-build-namespaces',
+ 'google-build-explicit-make-pair',
]
extra_args = [
@@ -69,4 +71,5 @@ for filename in args.files:
shortname=filename,
)) #verbose_success=True))
-jobset.run(jobs, maxjobs=args.jobs)
+num_fails, res_set = jobset.run(jobs, maxjobs=args.jobs)
+sys.exit(num_fails)