Commit f1346b7f authored by timurrrr@chromium.org's avatar timurrrr@chromium.org

Fix tsan_rv as it was broken due to recent "testcase" failures

It was failing with a "_cur_testcase not defined" error.
TBR=eugenis
Review URL: http://codereview.chromium.org/8872016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113598 0039d316-1c4b-4281-b951-d872f2087c98
parent ff818047
......@@ -67,6 +67,7 @@ class TsanAnalyzer(object):
'''
self._use_gdb = use_gdb
self._cur_testcase = None
def ReadLine(self):
self.line_ = self.cur_fd_.readline()
......
......@@ -966,7 +966,6 @@ class ThreadSanitizerRV1Analyzer(tsan_analyze.TsanAnalyzer):
self.out = open(self.TMP_FILE, "w")
def Report(self, files, testcase, check_sanity=False):
# TODO(timurrrr): handle testcase?
reports = self.GetReports(files)
for report in reports:
print >>self.out, report
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment