r323697 - [analyzer] Use stable filenames in analyzer testing infrastructure

George Karpenkov via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 29 13:45:07 PST 2018


Author: george.karpenkov
Date: Mon Jan 29 13:45:07 2018
New Revision: 323697

URL: http://llvm.org/viewvc/llvm-project?rev=323697&view=rev
Log:
[analyzer] Use stable filenames in analyzer testing infrastructure

Makes finding the right file in test results easier.

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

Modified:
    cfe/trunk/utils/analyzer/SATestBuild.py

Modified: cfe/trunk/utils/analyzer/SATestBuild.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/analyzer/SATestBuild.py?rev=323697&r1=323696&r2=323697&view=diff
==============================================================================
--- cfe/trunk/utils/analyzer/SATestBuild.py (original)
+++ cfe/trunk/utils/analyzer/SATestBuild.py Mon Jan 29 13:45:07 2018
@@ -247,6 +247,7 @@ def runScanBuild(Dir, SBOutputDir, PBuil
     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 "




More information about the cfe-commits mailing list