Index: testing/scripts/telemetry_perf_unittests.py |
diff --git a/testing/scripts/telemetry_unittests.py b/testing/scripts/telemetry_perf_unittests.py |
similarity index 66% |
copy from testing/scripts/telemetry_unittests.py |
copy to testing/scripts/telemetry_perf_unittests.py |
index 2c680633051f922bf65ea9b247db82d243031b8a..42eb656e164acdcb66d9b6a34fa2272c31bd5079 100755 |
--- a/testing/scripts/telemetry_unittests.py |
+++ b/testing/scripts/telemetry_perf_unittests.py |
@@ -17,21 +17,11 @@ def main_run(args): |
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']), |
+ '--test-type', 'telemetry_perf_unittests', |
'--run-python-script', |
- os.path.join(common.SRC_DIR, 'tools', 'telemetry', 'run_tests'), |
+ os.path.join(common.SRC_DIR, 'tools', 'perf', 'run_tests'), |
'--browser', args.build_config_fs.lower(), |
'--retry-limit', '3', |
'--write-full-results-to', tempfile_path, |