diff options
author | Tim Burke <tim.burke@gmail.com> | 2019-10-15 15:06:35 -0700 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2019-10-15 15:08:42 -0700 |
commit | 86952dd3edf4ca45f8df7440cb8b6d31d9e415d7 (patch) | |
tree | dc760c5b75a53e8c14c0de1e52eec59ce31debf8 /.probetests | |
parent | 294472464a8dfeab1f680eac78d4dd8c45552395 (diff) | |
download | swift-86952dd3edf4ca45f8df7440cb8b6d31d9e415d7.tar.gz |
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
Diffstat (limited to '.probetests')
-rwxr-xr-x | .probetests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.probetests b/.probetests index 386847f26..4c8d4dd36 100755 --- a/.probetests +++ b/.probetests @@ -1,6 +1,6 @@ #!/bin/bash -SRC_DIR=$(python -c "import os; print(os.path.dirname(os.path.realpath('$0')))") +SRC_DIR=$(dirname $(realpath "$0")) cd ${SRC_DIR}/test/probe nosetests --exe $@ |