diff options
author | Eric Boren <borenet@google.com> | 2017-12-12 13:20:25 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-13 16:28:00 +0000 |
commit | 543de8f8a640d8683049a76a36677e315d0c311c (patch) | |
tree | 77c2e95dd72f670e69ed08e5642b5c0e9427ce2b /infra/bots/infra_tests.py | |
parent | d3fbe70d3e2b12e511bdfab46d41e172c2b0a7cc (diff) |
infra_test.py: Suggest "go get" for more types of errors
Bug: skia:7384
Change-Id: Ifcb19c864d422781d6023606406ac2b7dd23b0f8
Reviewed-on: https://skia-review.googlesource.com/84121
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/infra_tests.py')
-rwxr-xr-x | infra/bots/infra_tests.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/infra/bots/infra_tests.py b/infra/bots/infra_tests.py index 7150e0408e..10546ed722 100755 --- a/infra/bots/infra_tests.py +++ b/infra/bots/infra_tests.py @@ -52,9 +52,11 @@ def gen_tasks_test(train): except OSError: return ('Failed to run "%s"; do you have Go installed on your machine?' % ' '.join(cmd)) - if output and 'cannot find package "go.skia.org/infra' in output: - return ('Failed to run gen_tests.go:\n\n%s\nMaybe you need to run:\n\n' - '$ go get -u go.skia.org/infra/...' % output) + if output: + if ('cannot find package "go.skia.org/infra' in output or + 'gen_tasks.go:' in output): + return ('Failed to run gen_tests.go:\n\n%s\nMaybe you need to run:\n\n' + '$ go get -u go.skia.org/infra/...' % output) return output |