diff options
author | Ewan Mellor <ewan.mellor@citrix.com> | 2011-08-28 19:41:22 +0000 |
---|---|---|
committer | Tarmac <> | 2011-08-28 19:41:22 +0000 |
commit | 0ef2581749f39fa4fd41c2376186418e730f0afb (patch) | |
tree | 5331d5fdad87aba2732c60a2b59ea60e8f43985d /nova/test.py | |
parent | de05bf07a69f07871e3c6d3e2d87ed8be178754c (diff) | |
parent | 07cbdbedcab3e796f330e21b1ffe407bd646ae67 (diff) | |
download | nova-0ef2581749f39fa4fd41c2376186418e730f0afb.tar.gz nova-0ef2581749f39fa4fd41c2376186418e730f0afb.tar.xz nova-0ef2581749f39fa4fd41c2376186418e730f0afb.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/test.py')
0 files changed, 0 insertions, 0 deletions