[test] Treat timeout as pass with interrupt budget fuzzer

TBR=sergiyb@chromium.org

Bug: v8:6917
Change-Id: I6d526410520fe7b2cfeff536ed260b37dbb2b8b6
Reviewed-on: https://chromium-review.googlesource.com/891819
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50937}
This commit is contained in:
Michael Achenbach 2018-01-29 21:50:11 +01:00 committed by Commit Bot
parent 7dccb7988f
commit 3f63438bc3

View File

@ -226,9 +226,10 @@ class SuppressedTestCase(TestCase):
# Skip tests expected to fail. We suppress all asserts anyways, but some
# tests are expected to fail with type errors or even dchecks, and we
# can't differentiate that.
if (statusfile.FAIL in self._statusfile_outcomes and
not statusfile.SKIP in self._statusfile_outcomes):
self._statusfile_outcomes.append(statusfile.SKIP)
if statusfile.FAIL in self._statusfile_outcomes:
self._statusfile_outcomes = [statusfile.SKIP]
else:
self.expected_outcomes = self.expected_outcomes + [statusfile.TIMEOUT]
def _get_extra_flags(self, *args, **kwargs):
return (