Fixes bug #706636: Make sure pep8 failures will return failure for run_tests.sh

This commit is contained in:
jaypipes@gmail.com 2011-01-23 17:51:19 +00:00 committed by Tarmac
commit 9c7b06d35d
2 changed files with 2 additions and 4 deletions

View File

@ -41,7 +41,7 @@ from glance.client import Client
def die(msg):
print >>sys.stderr, msg
print >> sys.stderr, msg
sys.exit(1)

View File

@ -71,6 +71,4 @@ then
fi
fi
run_tests
pep8 --repeat --show-pep8 --show-source bin/* glance setup.py run_tests.py
run_tests && pep8 --repeat --show-pep8 --show-source bin/* glance setup.py run_tests.py || exit 1