576d8f9418
Data added: - subtest_id as it is generated by Processors - processor_name to trace back the processors that generate subtests - path of the test - test_id suffixes introduced by processors: - numfuzz will have - an `analysis` suffix for analysis phase - a number suffix for the variants generated after analysis - variant processor adds a suffix for every variant - subtests will inherit suffixes from the parent tests (origin) V8-Recipe-Flags: resultdb Cq-Include-Trybots: luci.v8.try:v8_numfuzz_dbg,v8_numfuzz_rel,v8_numfuzz_tsan_compile_rel,v8_numfuzz_tsan_rel Bug: v8:13316 Change-Id: I67d8b92b575c31b201238cfbcfc76cd076a2f7af Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4081127 Commit-Queue: Liviu Rau <liviurau@google.com> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/main@{#84720}
20 lines
650 B
Python
20 lines
650 B
Python
# Copyright 2018 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
from . import base
|
|
|
|
class ExpectationProc(base.TestProcProducer):
|
|
"""Test processor passing tests and results through and forgiving timeouts."""
|
|
def __init__(self):
|
|
super(ExpectationProc, self).__init__('no-timeout')
|
|
|
|
def _next_test(self, test):
|
|
subtest = test.create_subtest(self, 'no_timeout')
|
|
subtest.allow_timeouts()
|
|
subtest.allow_pass()
|
|
return self._send_test(subtest)
|
|
|
|
def _result_for(self, test, subtest, result):
|
|
self._send_result(test, result)
|