From 89cd35795f7cc3042084fb14fec27102c6e67f2c Mon Sep 17 00:00:00 2001 From: Eric Boren Date: Wed, 28 Jun 2017 13:50:22 -0400 Subject: 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 Commit-Queue: Eric Boren --- infra/bots/infra_tests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'infra/bots/infra_tests.py') 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) -- cgit v1.2.3