commit | 1979cbb38a2741f539c55dc4e94d1ab0dd4d76a4 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Wed Feb 03 10:42:11 2016 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Feb 09 15:41:19 2016 -0700 |
tree | 2df15f29c3cd823adc85f30d75d212a68f1e5bcb | |
parent | 35d0a95d36e0b288a339b2aea57a830b42a8fb09 [diff] |
test/py: exit(1) if there are problems running py.test The test/py/test.py wrapper script catches exceptions thrown when exec()ing py.test in order to print a helpful error message. However, the exception handling code squashes the exception and so the script exits with a non-zero exit code, leading callers to believe that it passed. Fix this. Signed-off-by: Stephen Warren <swarren@nvidia.com>