Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: testing/scripts/telemetry_perf_unittests.py

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/scripts/common.py ('k') | testing/scripts/telemetry_unittests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « testing/scripts/common.py ('k') | testing/scripts/telemetry_unittests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698