diff options
| author | Soren Hansen <soren@linux2go.dk> | 2011-01-19 22:44:02 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-01-19 22:44:02 +0000 |
| commit | c25a105ead4cd571a1089d2dabf9f338afdd4784 (patch) | |
| tree | 23dcebfa5f7d0803abf23db09dc354d5c68c640e | |
| parent | 6e803acaf421e5bd8a8a2f9221a617939d582e31 (diff) | |
| parent | 43a9cbf855d8128be0d1fb6fb4f3b8e855bac113 (diff) | |
Return non-zero if either unit tests or pep8 fails.
| -rw-r--r-- | Authors | 1 | ||||
| -rwxr-xr-x | run_tests.sh | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -40,6 +40,7 @@ Nachi Ueno <ueno.nachi@lab.ntt.co.jp> <openstack@lab.ntt.co.jp> <nati.ueno@gmail Paul Voccio <paul@openstack.org> Rick Clark <rick@openstack.org> Rick Harris <rconradharris@gmail.com> +Rob Kost <kost@isi.edu> Ryan Lane <rlane@wikimedia.org> Ryan Lucio <rlucio@internap.com> Salvatore Orlando <salvatore.orlando@eu.citrix.com> diff --git a/run_tests.sh b/run_tests.sh index 0574643c5..786fa70c6 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -71,6 +71,4 @@ then fi fi -run_tests - -pep8 --repeat --show-pep8 --show-source bin/* nova setup.py +run_tests && pep8 --repeat --show-pep8 --show-source bin/* nova setup.py || exit 1 |
