[analyzer] [tests] Include statistics in tests.

llvm-svn: 335685
This commit is contained in:
George Karpenkov 2018-06-26 23:17:35 +00:00
parent c69e067668
commit 30130b78c5
1 changed files with 7 additions and 1 deletions

View File

@ -274,7 +274,13 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
SBOptions += "-plist-html -o '%s' " % SBOutputDir
SBOptions += "-enable-checker " + AllCheckers + " "
SBOptions += "--keep-empty "
SBOptions += "-analyzer-config 'stable-report-filename=true' "
AnalyzerConfig = {
"stable-report-filename": "true",
"serialize-stats": "true"
}
SBOptions += "-analyzer-config '%s' " % (
",".join("%s=%s" for key, value in AnalyzerConfig.iteritems()))
# Always use ccc-analyze to ensure that we can locate the failures
# directory.
SBOptions += "--override-compiler "