From 4361ce077827b6dd2e49f77b4cfdd1bb3c6fca9d Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 14 Nov 2015 23:17:26 +0100 Subject: [PATCH] test/run.py should be runnable from everywhere. --- test/run.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/run.py b/test/run.py index a48e1fb2..60fa95b9 100755 --- a/test/run.py +++ b/test/run.py @@ -344,7 +344,9 @@ if __name__ == '__main__': last = arg # completion tests: - completion_test_dir = '../test/completion' + dir = os.path.dirname(os.path.realpath(__file__)) + completion_test_dir = os.path.join(dir, '../test/completion') + completion_test_dir = os.path.abspath(completion_test_dir) summary = [] tests_fail = 0