diff options
author | Thiago da Silva <thiagodasilva@gmail.com> | 2018-11-24 08:11:26 -0500 |
---|---|---|
committer | Thiago da Silva <thiagodasilva@gmail.com> | 2018-11-24 08:12:15 -0500 |
commit | fc128672f63fe663950e13da105e084321937fe5 (patch) | |
tree | a1c94588b9c835e4216fcfe8e84a5e1f3622d784 /.functests | |
parent | 8778c91c71e83a40cfeedc4875ae3b66c7effb85 (diff) | |
download | python-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 | .functests | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |