python-swiftclient/.functests
Thiago da Silva fc128672f6 update .functests to run stestr
Updated .functests script to run similar to how it's defined
in tox.ini

Change-Id: I17df28d8cbe0e10e48b26c2f9737308552ea88db
2018-11-24 08:12:15 -05:00

15 lines
280 B
Bash
Executable File

#!/bin/bash
set -e
export OS_TEST_PATH='tests.functional'
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