aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/infra_tests.py
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2017-06-28 13:50:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-28 18:46:16 +0000
commit89cd35795f7cc3042084fb14fec27102c6e67f2c (patch)
tree94c732f308d4bc2e64e9c4226cdf5fbbf53378c6 /infra/bots/infra_tests.py
parenta4f792da37eada1dcc05c50b152e20ac36a0977c (diff)
Fix recipes/tests for new Debian bots
Bug: skia:6612 Change-Id: I2920bb7b1aa3ebb021223ed6345f13f1f9c8bc24 Reviewed-on: https://skia-review.googlesource.com/21141 Reviewed-by: Ben Wagner <benjaminwagner@google.com> Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/infra_tests.py')
-rwxr-xr-xinfra/bots/infra_tests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/infra/bots/infra_tests.py b/infra/bots/infra_tests.py
index a5a26e4840..7150e0408e 100755
--- a/infra/bots/infra_tests.py
+++ b/infra/bots/infra_tests.py
@@ -35,9 +35,11 @@ def python_unit_tests(train):
def recipe_test(train):
cmd = [
- 'python', os.path.join(INFRA_BOTS_DIR, 'recipes.py'), 'test', 'run']
+ 'python', os.path.join(INFRA_BOTS_DIR, 'recipes.py'), 'test']
if train:
- cmd.append('--train')
+ cmd.append('train')
+ else:
+ cmd.append('run')
return test(cmd, SKIA_DIR)