diff options
| author | termie <github@anarkystic.com> | 2011-01-30 21:55:32 -0800 |
|---|---|---|
| committer | termie <github@anarkystic.com> | 2011-01-30 21:55:32 -0800 |
| commit | 86b96d377cb5f0cbaccf40fc87f2c1ad64ae05e1 (patch) | |
| tree | af3f7c5a442eb36af3f5b28240171dae5e20d0ff | |
| parent | 8fbfae5065c07a4c0258585ab19c838fc87b0913 (diff) | |
| download | nova-86b96d377cb5f0cbaccf40fc87f2c1ad64ae05e1.tar.gz nova-86b96d377cb5f0cbaccf40fc87f2c1ad64ae05e1.tar.xz nova-86b96d377cb5f0cbaccf40fc87f2c1ad64ae05e1.zip | |
Only run pep8 after tests if running all the tests
| -rwxr-xr-x | run_tests.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh index cf1affcea..4e21fe945 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -65,10 +65,15 @@ then if [ "x$use_ve" = "xY" -o "x$use_ve" = "x" -o "x$use_ve" = "xy" ]; then # Install the virtualenv and run the test suite in it python tools/install_venv.py - wrapper=${with_venv} + wrapper=${with_venv} fi fi fi fi -run_tests && pep8 --repeat --show-pep8 --show-source --exclude=vcsversion.py bin/* nova setup.py || exit 1 +if [ -z "$noseargs" ]; +then + run_tests && pep8 --repeat --show-pep8 --show-source --exclude=vcsversion.py bin/* nova setup.py || exit 1 +else + run_tests +fi |
