Delete python bytecode file
This patch delete python bytecode including pyo before every test run. Change-Id: Idc6d0f58c139759a7b9c513a19fd8d8836d6bf0d
This commit is contained in:
parent
9176fa7925
commit
886d82e61a
|
@ -49,8 +49,8 @@ for arg in "$@"; do
|
|||
done
|
||||
|
||||
function run_tests {
|
||||
# Cleanup *pyc
|
||||
${wrapper} find . -type f -name "*.pyc" -delete
|
||||
# Cleanup *pyc and *pyo
|
||||
${wrapper} find . -type f -name "*.py[c|o]" -delete
|
||||
# Just run the test suites in current environment
|
||||
${wrapper} $NOSETESTS
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue