Commit b5a7ca84 authored by Liviu Rau's avatar Liviu Rau Committed by V8 LUCI CQ

[test] Refactor testrunner (2)

- moved test data closer to tests
- removed the coverage related code
- refactored to remove boilerplate from test code

Bug: v8:12785
Change-Id: I1013d29d8ff2c3ecb786c294ae3b3ab6decdca20
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3683610
Commit-Queue: Liviu Rau <liviurau@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80921}
parent 02e35546
...@@ -136,14 +136,8 @@ class StandardTestRunner(base_runner.BaseTestRunner): ...@@ -136,14 +136,8 @@ class StandardTestRunner(base_runner.BaseTestRunner):
# Unimplemented for test processors # Unimplemented for test processors
parser.add_option('--sancov-dir', parser.add_option('--sancov-dir',
help='Directory where to collect coverage data') help='Directory where to collect coverage data')
parser.add_option('--cat', help='Print the source of the tests',
default=False, action='store_true')
parser.add_option('--flakiness-results', parser.add_option('--flakiness-results',
help='Path to a file for storing flakiness json.') help='Path to a file for storing flakiness json.')
parser.add_option('--warn-unused', help='Report unused rules',
default=False, action='store_true')
parser.add_option('--report', default=False, action='store_true',
help='Print a summary of the tests to be run')
def _predictable_wrapper(self): def _predictable_wrapper(self):
return os.path.join(self.v8_root, 'tools', 'predictable_wrapper.py') return os.path.join(self.v8_root, 'tools', 'predictable_wrapper.py')
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment