From fc128672f63fe663950e13da105e084321937fe5 Mon Sep 17 00:00:00 2001 From: Thiago da Silva Date: Sat, 24 Nov 2018 08:11:26 -0500 Subject: [PATCH] update .functests to run stestr Updated .functests script to run similar to how it's defined in tox.ini Change-Id: I17df28d8cbe0e10e48b26c2f9737308552ea88db --- .functests | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.functests b/.functests index 16c9e5de..d199ec84 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