diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 23:14:34 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-07-29 17:23:36 -0400 |
commit | 994555226640bd9059c70e87e6f9b7d4d2d5f099 (patch) | |
tree | 185e563455a49c8c55178a9be2d7cba98984ba65 | |
parent | 05c1738b852d3c4c309d001e5b4c9b1c06220904 (diff) | |
download | mongo-994555226640bd9059c70e87e6f9b7d4d2d5f099.tar.gz |
SERVER-18579: Suppress lint.py warnings
(cherry picked from commit 2d3a435f9a20e5471476f8afc9a7752c41c84c96)
-rw-r--r-- | buildscripts/lint.py | 1 | ||||
-rw-r--r-- | src/mongo/dbtests/perftests.cpp | 18 |
2 files changed, 10 insertions, 9 deletions
diff --git a/buildscripts/lint.py b/buildscripts/lint.py index 6ee9ea5b7da..498bd8a3354 100644 --- a/buildscripts/lint.py +++ b/buildscripts/lint.py @@ -25,6 +25,7 @@ def run_lint( paths, nudgeOn=False ): never.append( '-readability/braces' ) # errors found: 880 later.append( '-readability/casting' ) # errors found: 748 nudge.append( '-readability/check' ) # errors found: 7 + nudge.append( '-readability/fn_size' ) # errors found: 1 nudge.append( '-readability/function' ) # errors found: 49 nudge.append( '-readability/inheritance' ) # errors found: 7 later.append( '-readability/namespace' ) # errors found: 876 diff --git a/src/mongo/dbtests/perftests.cpp b/src/mongo/dbtests/perftests.cpp index b022b943138..ed7ad329adf 100644 --- a/src/mongo/dbtests/perftests.cpp +++ b/src/mongo/dbtests/perftests.cpp @@ -1,12 +1,3 @@ -/** @file perftests.cpp.cpp : unit tests relating to performance - - The idea herein is tests that run fast and can be part of the normal CI suite. So no - tests herein that take a long time to run. Obviously we need those too, but they will be - separate. - - These tests use DBDirectClient; they are a bit white-boxish. -*/ - /** * Copyright (C) 2008 10gen Inc. * @@ -35,6 +26,15 @@ * then also delete it in the license file. */ +/** @file perftests.cpp.cpp : unit tests relating to performance + + The idea herein is tests that run fast and can be part of the normal CI suite. So no + tests herein that take a long time to run. Obviously we need those too, but they will be + separate. + + These tests use DBDirectClient; they are a bit white-boxish. +*/ + #define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault #include "mongo/platform/basic.h" |