Author: george.karpenkov
Date: Mon Feb 12 14:13:01 2018
New Revision: 324946

URL: http://llvm.org/viewvc/llvm-project?rev=324946&view=rev
Log:
[analyzer] [tests] Fix a typo in analyzer testing script.

Incorrect option instance construction.

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=324946&r1=324945&r2=324946&view=diff
==============================================================================
--- cfe/trunk/utils/analyzer/SATestBuild.py (original)
+++ cfe/trunk/utils/analyzer/SATestBuild.py Mon Feb 12 14:13:01 2018
@@ -567,7 +567,7 @@ def runCmpResults(Dir, Strictness=0):
 
         PatchedSourceDirPath = os.path.join(Dir, PatchedSourceDirName)
         Opts, Args = CmpRuns.generate_option_parser().parse_args(
-            ["", PatchedSourceDirPath])
+            ["--rootA", "", "--rootB", PatchedSourceDirPath])
         # Scan the results, delete empty plist files.
         NumDiffs, ReportsInRef, ReportsInNew = \
             CmpRuns.dumpScanBuildResultsDiff(RefDir, NewDir, Opts, False)


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to