Add src-side launcher for telemetry_perf_unittests
Also enable it on "Linux Tests" builder.
BUG=422235
[email protected]
Review URL: https://codereview.chromium.org/691493002
Cr-Commit-Position: refs/heads/master@{#301822}
diff --git a/testing/scripts/telemetry_unittests.py b/testing/scripts/telemetry_unittests.py
index 2c68063..50af0c0 100755
--- a/testing/scripts/telemetry_unittests.py
+++ b/testing/scripts/telemetry_unittests.py
@@ -17,19 +17,9 @@
filter_tests = json.load(args.filter_file)
with common.temporary_file() as tempfile_path:
- rc = common.run_command([
- sys.executable,
- os.path.join(args.paths['build'], 'scripts', 'tools', 'runit.py'),
- '--show-path',
- sys.executable,
- os.path.join(args.paths['build'], 'scripts', 'slave', 'runtest.py'),
- '--target', args.build_config_fs,
- '--xvfb',
+ rc = common.run_runtest(args, [
'--annotate', 'gtest',
'--test-type', 'telemetry_unittests',
- '--builder-name', args.properties['buildername'],
- '--slave-name', args.properties['slavename'],
- '--build-number', str(args.properties['buildnumber']),
'--run-python-script',
os.path.join(common.SRC_DIR, 'tools', 'telemetry', 'run_tests'),
'--browser', args.build_config_fs.lower(),