Clean up .pyc files before running tests.

Fixes bug 1015181

Change-Id: I5628de56464f882f804522c66d9ffbe35a3b21e1
This commit is contained in:
Alex Meade 2012-06-19 12:07:12 -04:00
parent 7aa688a897
commit 0c0fd6acaa

View File

@ -51,6 +51,8 @@ for arg in "$@"; do
done
function run_tests {
# Cleanup *pyc
${wrapper} find . -type f -name "*.pyc" -delete
# Just run the test suites in current environment
${wrapper} rm -f tests.sqlite
${wrapper} $NOSETESTS