]> git.dujemihanovic.xyz Git - u-boot.git/commit
buildman: don't fail --list-toolchains when toolchains fail
authorStephen Warren <swarren@nvidia.com>
Wed, 9 Oct 2013 20:28:09 +0000 (14:28 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 10 Oct 2013 16:40:42 +0000 (10:40 -0600)
commit8bb2bddc2c18a3643ce53e793d5bc27a40e98a4f
tree22845d0426931f5fdf5074081e5856cac237c310
parent99b4eaa68e0e2fdd9b0d0b1d40809d7e8f92044f
buildman: don't fail --list-toolchains when toolchains fail

When a toolchain invocation fails, an exception is thrown but not caught
which then aborts the entire toolchain detection process. To solve this,
request that exceptions not be thrown, since the toolchain init code
already error-checks the command result. This solves e.g.:

         - found '/usr/bin/winegcc'
Traceback (most recent call last):
...
Exception: Error running '/usr/bin/winegcc --version'

Change-Id: I579c72ab3b021e38b14132893c3375ea257c74f0
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
(formatted to 80cols)
tools/buildman/toolchain.py