Merge "delete python bytecode including pyo before every test run"
This commit is contained in:
commit
139dd64c56
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
|
||||
|
@ -68,7 +68,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