def __init__(self, port, worker_number): Driver.__init__(self, port, worker_number) self._driver_tempdir = port._filesystem.mkdtemp(prefix="%s-" % self._port.driver_name()) # WebKitTestRunner can report back subprocess crashes by printing # "#CRASHED - PROCESSNAME". Since those can happen at any time # and ServerProcess won't be aware of them (since the actual tool # didn't crash, just a subprocess) we record the crashed subprocess name here. self._crashed_subprocess_name = None # stderr reading is scoped on a per-test (not per-block) basis, so we store the accumulated # stderr output, as well as if we've seen #EOF on this driver instance. # FIXME: We should probably remove _read_first_block and _read_optional_image_block and # instead scope these locally in run_test. self.error_from_test = str() self.err_seen_eof = False
def __init__(self, port, worker_number, pixel_tests): Driver.__init__(self, port, worker_number, pixel_tests) self._driver_tempdir = port._filesystem.mkdtemp(prefix='%s-' % self._port.driver_name()) # WebKitTestRunner can report back subprocess crashes by printing # "#CRASHED - PROCESSNAME". Since those can happen at any time # and ServerProcess won't be aware of them (since the actual tool # didn't crash, just a subprocess) we record the crashed subprocess name here. self._crashed_subprocess_name = None # stderr reading is scoped on a per-test (not per-block) basis, so we store the accumulated # stderr output, as well as if we've seen #EOF on this driver instance. # FIXME: We should probably remove _read_first_block and _read_optional_image_block and # instead scope these locally in run_test. self.error_from_test = str() self.err_seen_eof = False self._server_process = None
def __init__(self, port, worker_number, pixel_tests, no_timeout=False): Driver.__init__(self, port, worker_number, pixel_tests, no_timeout) self._driver_tempdir = None # WebKitTestRunner can report back subprocess crashes by printing # "#CRASHED - PROCESSNAME". Since those can happen at any time # and ServerProcess won't be aware of them (since the actual tool # didn't crash, just a subprocess) we record the crashed subprocess name here. self._crashed_process_name = None self._crashed_pid = None # WebKitTestRunner can report back subprocesses that became unresponsive # This could mean they crashed. self._subprocess_was_unresponsive = False # stderr reading is scoped on a per-test (not per-block) basis, so we store the accumulated # stderr output, as well as if we've seen #EOF on this driver instance. # FIXME: We should probably remove _read_first_block and _read_optional_image_block and # instead scope these locally in run_test. self.error_from_test = str() self.err_seen_eof = False self._server_process = None
def __init__(self, port, worker_number): Driver.__init__(self, port, worker_number) self._driver_tempdir = port._filesystem.mkdtemp(prefix='%s-' % self._port.driver_name())
def __init__(self, port, worker_number): Driver.__init__(self, port, worker_number) self._driver_tempdir = port._filesystem.mkdtemp( prefix='%s-' % self._port.driver_name())