summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoren Hansen <soren@linux2go.dk>2011-01-19 23:15:20 +0100
committerSoren Hansen <soren@linux2go.dk>2011-01-19 23:15:20 +0100
commit96a7787874a2c3f71bdfda1d4addf99408ca4e34 (patch)
tree38fd233ae52255fb79d7cdef8ea619b9c83a5e0e
parentff9ec3576c4efb24baa657405591ead991ea1287 (diff)
downloadnova-96a7787874a2c3f71bdfda1d4addf99408ca4e34.tar.gz
nova-96a7787874a2c3f71bdfda1d4addf99408ca4e34.tar.xz
nova-96a7787874a2c3f71bdfda1d4addf99408ca4e34.zip
Return non-zero if either unit tests or pep8 fails.
-rwxr-xr-xrun_tests.sh4
1 files changed, 1 insertions, 3 deletions
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