Index: infra/bots/test_skia.py |
diff --git a/infra/bots/test_skia.py b/infra/bots/test_skia.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..65ccbf0100704337d77ce141845c34cdb72100f6 |
--- /dev/null |
+++ b/infra/bots/test_skia.py |
@@ -0,0 +1,31 @@ |
+#!/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 common |
+import os |
+import sys |
+ |
+ |
+def main(): |
+ if len(sys.argv) != 7: |
rmistry
2016/02/29 13:01:34
It will make things much more readable and maintai
borenet
2016/02/29 13:53:54
Done.
|
+ print >> sys.stderr, ('Usage: test_skia.py <master name> <builder name> ' |
+ '<build number> <slave name> <revision> ' |
+ '<swarm out dir>') |
+ sys.exit(1) |
+ master = sys.argv[1] |
+ builder = sys.argv[2] |
+ number = sys.argv[3] |
+ slave = sys.argv[4] |
+ revision = sys.argv[5] |
+ swarm_results_dir = os.path.abspath(sys.argv[6]) |
+ bot = common.BotInfo(builder, swarm_results_dir) |
+ bot.test_steps(revision, master, slave, number) |
+ |
+ |
+if __name__ == '__main__': |
+ main() |