mirror of https://github.com/microsoft/clang.git
[analyzer] [tests] Include statistics in tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e4eef1df5
commit
5e73e9b775
|
@ -274,7 +274,13 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
|
||||||
SBOptions += "-plist-html -o '%s' " % SBOutputDir
|
SBOptions += "-plist-html -o '%s' " % SBOutputDir
|
||||||
SBOptions += "-enable-checker " + AllCheckers + " "
|
SBOptions += "-enable-checker " + AllCheckers + " "
|
||||||
SBOptions += "--keep-empty "
|
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
|
# Always use ccc-analyze to ensure that we can locate the failures
|
||||||
# directory.
|
# directory.
|
||||||
SBOptions += "--override-compiler "
|
SBOptions += "--override-compiler "
|
||||||
|
|
Loading…
Reference in New Issue