python-swiftclient/.functests
Tim Burke 1eda8f9f3e Rename "tests" directory to be "test" like in the swift repo
In addition to being less confusing for devs, this lets us actually run
tempauth tests in swiftclient dsvm jobs.

The job definition (over in the swift repo) specifies test/sample.conf,
which does not exist in this repo. As a result, those tests would skip
with

    SKIPPING FUNCTIONAL TESTS DUE TO NO CONFIG

Change-Id: I558dbf9a657d442e6e19468e543bbec855129eeb
2019-11-06 03:48:02 +00:00

15 lines
279 B
Bash
Executable File

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