d3083b46ee
Bug: v8:6917 Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng Change-Id: I254d2e545709029346f585b02a9edf91d3f27893 Reviewed-on: https://chromium-review.googlesource.com/893321 Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michał Majewski <majeski@google.com> Cr-Commit-Position: refs/heads/master@{#50996}
33 lines
909 B
Python
33 lines
909 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.
|
|
|
|
import random
|
|
|
|
from .utils import random_utils
|
|
|
|
|
|
class TestConfig(object):
|
|
def __init__(self,
|
|
command_prefix,
|
|
extra_flags,
|
|
isolates,
|
|
mode_flags,
|
|
no_harness,
|
|
noi18n,
|
|
random_seed,
|
|
shell_dir,
|
|
timeout,
|
|
verbose):
|
|
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.shell_dir = shell_dir
|
|
self.timeout = timeout
|
|
self.verbose = verbose
|