diff options
author | Enrico Granata <egranata@apple.com> | 2015-12-16 01:15:49 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-12-16 01:15:49 +0000 |
commit | b13293876c52dbe0a81abd2d1d4ac4cc1684c93d (patch) | |
tree | 4b1dfc90e5092ed4ceec75c33d4ae963ba09c409 /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | ae5433907acf90884627b8e14155bd39a23db346 (diff) | |
download | bcm5719-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.py | 2 |
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 |