summaryrefslogtreecommitdiff
path: root/.alltests
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2019-10-15 15:06:35 -0700
committerTim Burke <tim.burke@gmail.com>2019-10-15 15:08:42 -0700
commit86952dd3edf4ca45f8df7440cb8b6d31d9e415d7 (patch)
treedc760c5b75a53e8c14c0de1e52eec59ce31debf8 /.alltests
parent294472464a8dfeab1f680eac78d4dd8c45552395 (diff)
downloadswift-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 '.alltests')
-rwxr-xr-x.alltests2
1 files changed, 1 insertions, 1 deletions
diff --git a/.alltests b/.alltests
index ac30d5738..75ccf9a52 100755
--- a/.alltests
+++ b/.alltests
@@ -2,7 +2,7 @@
set -e
-TOP_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))")
+TOP_DIR=$(dirname $(realpath "$0"))
echo "==== Unit tests ===="
resetswift