delete python bytecode including pyo before every test run
Change-Id: Ic5eaee3c70bdd9011c9f71a1ff0eba6f32d4dee9
This commit is contained in:
parent
d29569882f
commit
49cd835714
4
tox.ini
4
tox.ini
|
@ -8,7 +8,7 @@ deps = -r{toxinidir}/requirements.txt
|
|||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
commands =
|
||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
||||
/usr/bin/find . -type f -name "*.py[c|o]" -delete
|
||||
coverage erase
|
||||
python setup.py testr --coverage --testr-args='{posargs}'
|
||||
coverage report -m
|
||||
|
@ -66,7 +66,7 @@ commands =
|
|||
deps = -r{toxinidir}/test-requirements.txt
|
||||
setenv = OS_TEST_PATH={toxinidir}/functionaltests
|
||||
commands =
|
||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
||||
/usr/bin/find . -type f -name "*.py[c|o]" -delete
|
||||
/bin/bash {toxinidir}/functionaltests/pretty_tox.sh '{posargs}'
|
||||
passenv = KMIP_PLUGIN_ENABLED
|
||||
|
||||
|
|
Loading…
Reference in New Issue