Merge topic 'update-cpplint'

bfcc2034 Update cpplint support to return 0 and mark warnings for CDash.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1544
This commit is contained in:
Brad King
2017-12-05 13:14:30 +00:00
committed by Kitware Robot
5 changed files with 8 additions and 6 deletions

View File

@@ -270,10 +270,12 @@ static int HandleCppLint(const std::string& runCmd,
<< "\n";
return 1;
}
std::cerr << "Warning: cpplint diagnostics:\n";
// Output the output from cpplint to stderr
std::cerr << stdOut;
return ret;
// always return 0 so the build can continue as cpplint returns non-zero
// for any warning
return 0;
}
static int HandleCppCheck(const std::string& runCmd,

View File

@@ -1 +1 @@
[^0]
0

View File

@@ -1 +1 @@
[^0]
0