[analyzer] [tests] Fix crash in SATestBuild.py

llvm-svn: 324114
This commit is contained in:
George Karpenkov 2018-02-02 18:27:14 +00:00
parent 3a2cf8668f
commit 78809e53cc

View File

@ -97,10 +97,17 @@ class AnalysisDiagnostic:
class CmpOptions:
"""
Fake output of option parser with manually constructed options.
"""
def __init__(self, verboseLog=None, rootA="", rootB=""):
self.rootA = rootA
self.rootB = rootB
self.verboseLog = verboseLog
self.relative_path_histogram = False
self.relative_log_path_histogram = False
self.absolute_path_histogram = False
class AnalysisReport: