f2e2a1e290
Requires a recipe-side change as well. NOTRY=true BUG=skia:4763 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1768333002 Review URL: https://codereview.chromium.org/1768333002
36 lines
1.0 KiB
Python
36 lines
1.0 KiB
Python
#!/usr/bin/env python
|
|
#
|
|
# Copyright 2016 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
|
|
import argparse
|
|
import common
|
|
import os
|
|
import sys
|
|
import utils
|
|
|
|
|
|
def main():
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument('--master_name', required=True)
|
|
parser.add_argument('--builder_name', required=True)
|
|
parser.add_argument('--build_number', required=True)
|
|
parser.add_argument('--slave_name', required=True)
|
|
parser.add_argument('--revision', required=True)
|
|
parser.add_argument('--swarm_out_dir', required=True)
|
|
parser.add_argument('--issue')
|
|
parser.add_argument('--patchset')
|
|
args = parser.parse_args()
|
|
with utils.print_timings():
|
|
bot = common.BotInfo(args.builder_name, os.path.abspath(args.swarm_out_dir))
|
|
bot.test_steps(args.revision, args.master_name, args.slave_name,
|
|
args.build_number, issue=args.issue or None,
|
|
patchset=args.patchset or None)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|