]> granicus.if.org Git - clang/commitdiff
[analyzer] Use stable filenames in analyzer testing infrastructure
authorGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 29 Jan 2018 21:45:07 +0000 (21:45 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 29 Jan 2018 21:45:07 +0000 (21:45 +0000)
Makes finding the right file in test results easier.

Differential Revision: https://reviews.llvm.org/D42445

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323697 91177308-0d34-0410-b5e6-96231b3b80d8

utils/analyzer/SATestBuild.py

index 60c8796e338fdfad19c051fc81643b9a09dcac13..cc5ef4802995bc79cf8aa56ff47d89fe74b3955a 100755 (executable)
@@ -247,6 +247,7 @@ 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' "
     # Always use ccc-analyze to ensure that we can locate the failures
     # directory.
     SBOptions += "--override-compiler "