summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-12-16 01:15:49 +0000
committerEnrico Granata <egranata@apple.com>2015-12-16 01:15:49 +0000
commitb13293876c52dbe0a81abd2d1d4ac4cc1684c93d (patch)
tree4b1dfc90e5092ed4ceec75c33d4ae963ba09c409 /lldb/packages/Python/lldbsuite/test/dotest.py
parentae5433907acf90884627b8e14155bd39a23db346 (diff)
downloadbcm5719-llvm-b13293876c52dbe0a81abd2d1d4ac4cc1684c93d.tar.gz
bcm5719-llvm-b13293876c52dbe0a81abd2d1d4ac4cc1684c93d.zip
Add a symbolic link from the test directory to the actual - elsewhere located - path that contains the test cases - and teach the test suite driver to resolve paths that contain symbolic links to test cases
This is meant to reduce the typing that one needs to do to get from the test subdirectory to actual test cases. Now one can just do $ ./dotest.py ./testcases/<yaddayaddayadda> llvm-svn: 255741
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 9fc6894b45b..723f26a417e 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -416,7 +416,7 @@ def parseOptionsAndInitTestdirs():
# Gather all the dirs passed on the command line.
if len(args.args) > 0:
- configuration.testdirs = list(map(os.path.abspath, args.args))
+ configuration.testdirs = list(map(lambda x: os.path.realpath(os.path.abspath(x)), args.args))
# Shut off multiprocessing mode when test directories are specified.
configuration.no_multiprocess_test_runner = True
OpenPOWER on IntegriCloud