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

Unified Diff: mojo/tools/mojob.py

Issue 726313007: Add the ability to upload sky_tests to the flakiness dashboard. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove build-name argument. Created 6 years, 1 month 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 | « no previous file | sky/tools/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mojob.py
diff --git a/mojo/tools/mojob.py b/mojo/tools/mojob.py
index ee1f78154e6968257d1e13ce2f02a6a6c3c0ec14..a4581e6d75b8a6fbdcc64f6c9b801f93fb4adfa5 100755
--- a/mojo/tools/mojob.py
+++ b/mojo/tools/mojob.py
@@ -132,6 +132,23 @@ def run_skytests(args):
command.append('--no-new-test-results')
command.append('--no-show-results')
command.append('--verbose')
+
+ if args.builder_name:
+ command.append('--builder-name')
+ command.append(args.builder_name)
+
+ if args.build_number:
+ command.append('--build-number')
+ command.append(args.build_number)
+
+ if args.master_name:
+ command.append('--master-name')
+ command.append(args.master_name)
+
+ if args.test_results_server:
+ command.append('--test-results-server')
+ command.append(args.test_results_server)
+
return subprocess.call(command)
@@ -243,6 +260,17 @@ def main():
help='Run unit tests (does not build).')
test_parser.set_defaults(func=test)
+ # Arguments required for uploading to the flakiness dashboard.
+ test_parser.add_argument('--master-name',
+ help='The name of the buildbot master.')
+ test_parser.add_argument('--builder-name',
+ help=('The name of the builder shown on the waterfall running '
+ 'this script e.g. Mojo Linux.'))
+ test_parser.add_argument('--build-number',
+ help='The build number of the builder running this script.')
+ test_parser.add_argument('--test-results-server',
+ help='Upload results json files to this appengine server.')
+
perftest_parser = subparsers.add_parser('perftest', parents=[parent_parser],
help='Run perf tests (does not build).')
perftest_parser.set_defaults(func=perftest)
« no previous file with comments | « no previous file | sky/tools/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698