Merge lp:~ewanmellor/nova/lp835952 into lp:~hudson-openstack/nova/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 1504 | ||||
Proposed branch: | lp:~ewanmellor/nova/lp835952 | ||||
Merge into: | lp:~hudson-openstack/nova/trunk | ||||
Prerequisite: | lp:~ewanmellor/nova/lp835964 | ||||
Diff against target: |
41 lines (+10/-8) 1 file modified
run_tests.sh (+10/-8) |
||||
To merge this branch: | bzr merge lp:~ewanmellor/nova/lp835952 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vish Ishaya (community) | Approve | ||
Brian Lamar (community) | Approve | ||
Review via email: mp+73175@code.launchpad.net |
Commit message
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.
Description of the change
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.
Nice, works great, thanks!