Files
c7f93f0f63841140d75c21a833647073fb3f4eb3
Tim Burke
f819fc8c24
Give functional tests another chance to pass
In the process, move from using os-testr to stestr. Change-Id: Ib6651aab8b009605bf0855ec217003936c0fae6e
16 lines
366 B
Bash
Executable File
16 lines
366 B
Bash
Executable File
#!/bin/bash
# How-To debug functional tests:
# SWIFT_TEST_IN_PROCESS=1 tox -e func -- --pdb test.functional.tests.TestFile.testCopy
SRC_DIR=$(dirname $(realpath "0ドル"))
cd ${SRC_DIR} > /dev/null
export TESTS_DIR=${SRC_DIR}/test/functional
ARGS="run --concurrency 1 $@"
stestr $ARGS || stestr run --concurrency 1 --failing
rvalue=$?
cd - > /dev/null
exit $rvalue