Files
c31e30ec2f1abd7b21d2e94b3bcf21d9f84888b0
swift /.functests
Tim Burke 86952dd3ed tests: Stop invoking python just to get the real source directory
While we're at it, stop checking for a seven-year-old version of nose --
we already list a newer version in test-requirements.txt anyway.
Change-Id: I97beace3094f11286730b99653dc1e8f699c5aec
2019年10月15日 15:08:42 -07:00

16 lines
337 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="--concurrency 1 ${@:-"--pretty"}"
ostestr $ARGS
rvalue=$?
cd - > /dev/null
exit $rvalue