[analyzer] [tests] Fix a typo in analyzer testing script.

Incorrect option instance construction.

llvm-svn: 324946
This commit is contained in:
George Karpenkov 2018-02-12 22:13:01 +00:00
parent a5eee4de07
commit 192d9a186f

View File

@ -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)