summaryrefslogtreecommitdiff
path: root/.functests
diff options
context:
space:
mode:
authorThiago da Silva <thiagodasilva@gmail.com>2018-11-24 08:11:26 -0500
committerThiago da Silva <thiagodasilva@gmail.com>2018-11-24 08:12:15 -0500
commitfc128672f63fe663950e13da105e084321937fe5 (patch)
treea1c94588b9c835e4216fcfe8e84a5e1f3622d784 /.functests
parent8778c91c71e83a40cfeedc4875ae3b66c7effb85 (diff)
downloadpython-swiftclient-fc128672f63fe663950e13da105e084321937fe5.tar.gz
update .functests to run stestr
Updated .functests script to run similar to how it's defined in tox.ini Change-Id: I17df28d8cbe0e10e48b26c2f9737308552ea88db
Diffstat (limited to '.functests')
-rwxr-xr-x.functests6
1 files changed, 5 insertions, 1 deletions
diff --git a/.functests b/.functests
index 16c9e5d..d199ec8 100755
--- a/.functests
+++ b/.functests
@@ -2,9 +2,13 @@
set -e
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=$?
+coverage combine
+coverage html -d cover
+coverage xml -o cover/coverage.xml
coverage report -m
rm -f .coverage
exit $RET