7aca2b8fd2
Unused imports and some deprecation related updates. Bug: v8:12785 Change-Id: Ia3998a75f0c3b83eef4134741c1bda5f3d49c6f4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3678840 Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Liviu Rau <liviurau@chromium.org> Cr-Commit-Position: refs/heads/main@{#80883}
35 lines
1.0 KiB
Python
35 lines
1.0 KiB
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 .utils import random_utils
|
|
|
|
|
|
class TestConfig(object):
|
|
def __init__(self,
|
|
command_prefix,
|
|
extra_flags,
|
|
isolates,
|
|
mode_flags,
|
|
no_harness,
|
|
noi18n,
|
|
random_seed,
|
|
run_skipped,
|
|
shell_dir,
|
|
timeout,
|
|
verbose,
|
|
regenerate_expected_files=False):
|
|
self.command_prefix = command_prefix
|
|
self.extra_flags = extra_flags
|
|
self.isolates = isolates
|
|
self.mode_flags = mode_flags
|
|
self.no_harness = no_harness
|
|
self.noi18n = noi18n
|
|
# random_seed is always not None.
|
|
self.random_seed = random_seed or random_utils.random_seed()
|
|
self.run_skipped = run_skipped
|
|
self.shell_dir = shell_dir
|
|
self.timeout = timeout
|
|
self.verbose = verbose
|
|
self.regenerate_expected_files = regenerate_expected_files
|