| # 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): |
| regenerate_expected_files=False): |
| self.command_prefix = command_prefix |
| self.extra_flags = extra_flags |
| self.mode_flags = mode_flags |
| self.no_harness = no_harness |
| # 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.regenerate_expected_files = regenerate_expected_files |