diff options
author | Ewan Mellor <ewan.mellor@citrix.com> | 2011-08-28 16:19:55 +0530 |
---|---|---|
committer | Ewan Mellor <ewan.mellor@citrix.com> | 2011-08-28 16:19:55 +0530 |
commit | 07cbdbedcab3e796f330e21b1ffe407bd646ae67 (patch) | |
tree | 4a161032acf9f68da206648d801a5e86fddd4731 /nova/context.py | |
parent | e38ba3a6066de8499ea5cc8d1fb2e5daefbf336a (diff) | |
download | nova-07cbdbedcab3e796f330e21b1ffe407bd646ae67.tar.gz nova-07cbdbedcab3e796f330e21b1ffe407bd646ae67.tar.xz nova-07cbdbedcab3e796f330e21b1ffe407bd646ae67.zip |
Bug #835952: pep8 failures do not cause the tests to fail
Add set -eu to run_tests.sh. This will cause it to fail whenever anything
goes wrong, which is exactly what we want in a test script.
To do this, I had to remove the use of the "let" keyword, which has a bizarre
exit status in bash.
I also removed the "|| exit" after run_tests, which means that this script
will now exit with status 1, not status 0, if run_tests fails.
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions