2010-07-12 17:03:45 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-08-05 14:22:28 -04:00
|
|
|
# How-To debug functional tests:
|
|
|
|
# SWIFT_TEST_IN_PROCESS=1 tox -e func -- --pdb test.functional.tests.TestFile.testCopy
|
|
|
|
|
2013-11-13 11:40:27 -08:00
|
|
|
SRC_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))")
|
2012-11-26 09:58:09 -06:00
|
|
|
|
2015-08-07 18:14:13 -05:00
|
|
|
cd ${SRC_DIR}
|
|
|
|
export TESTS_DIR=${SRC_DIR}/test/functional
|
|
|
|
ostestr --serial --pretty $@
|
2014-01-07 14:18:31 +08:00
|
|
|
rvalue=$?
|
2012-03-12 21:54:31 +00:00
|
|
|
cd -
|
|
|
|
|
2014-01-07 14:18:31 +08:00
|
|
|
exit $rvalue
|