From: George Karpenkov Date: Mon, 12 Feb 2018 22:13:01 +0000 (+0000) Subject: [analyzer] [tests] Fix a typo in analyzer testing script. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6187d33bf29eaab4f6134dd842e60063dc28d8fe;p=clang [analyzer] [tests] Fix a typo in analyzer testing script. Incorrect option instance construction. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@324946 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/analyzer/SATestBuild.py b/utils/analyzer/SATestBuild.py index 2becaa07a7..7ec87e4a27 100755 --- a/utils/analyzer/SATestBuild.py +++ b/utils/analyzer/SATestBuild.py @@ -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)