Files
b587d1606c5bd524efc473182f6048580fae33c8
Thiago da Silva
ddbab05094
add reminder how to run debug func tests
added comments on how to run in_process and specific test cases Change-Id: I485755996b15753323d30de09914d35e262fcedc Signed-off-by: Thiago da Silva <thiago@redhat.com>
16 lines
338 B
Bash
Executable File
16 lines
338 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=$(python -c "import os; print os.path.dirname(os.path.realpath('0ドル'))")
set -e
cd ${SRC_DIR}
export TESTS_DIR=${SRC_DIR}/test/functional
ostestr --serial --pretty $@
rvalue=$?
cd -
exit $rvalue