update .functests to run stestr
Updated .functests script to run similar to how it's defined in tox.ini Change-Id: I17df28d8cbe0e10e48b26c2f9737308552ea88db
This commit is contained in:
parent
8778c91c71
commit
fc128672f6
@ -2,9 +2,13 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
export OS_TEST_PATH='tests.functional'
|
export OS_TEST_PATH='tests.functional'
|
||||||
python setup.py testr --coverage --testr-args="--concurrency=1"
|
export PYTHON='coverage run --source swiftclient --parallel-mode'
|
||||||
|
stestr run --concurrency=1
|
||||||
|
|
||||||
RET=$?
|
RET=$?
|
||||||
|
coverage combine
|
||||||
|
coverage html -d cover
|
||||||
|
coverage xml -o cover/coverage.xml
|
||||||
coverage report -m
|
coverage report -m
|
||||||
rm -f .coverage
|
rm -f .coverage
|
||||||
exit $RET
|
exit $RET
|
||||||
|
Loading…
Reference in New Issue
Block a user