Re: [PATCH v2 18/41] test/py: Raise a ValueError if a command fails

2021-11-24 Thread Simon Glass
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 --- (no changes since v1)

[PATCH v2 18/41] test/py: Raise a ValueError if a command fails

2021-10-23 Thread Simon Glass
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 --- (no changes since v1)