commit | 150dc1a5ae3cec58545f844edac33f15bc673036 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Oct 23 17:26:12 2021 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sun Nov 28 16:51:51 2021 -0700 |
tree | 1d5efba0d146dcd1a6a449963ea738cc6e4ff73e | |
parent | 23300b4ac2b5bdd3cb09801f5936cd14eef7b9ac [diff] |
test/py: Raise a ValueError if a command fails At present an Exception is raised if a command fails. This is a very broad class and makes it difficult for callers to catch the error without also catching other things, like programming bugs. Change it to ValueError to make this easier. Signed-off-by: Simon Glass <sjg@chromium.org>