ddbab05094
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
|