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
This commit is contained in:
Enrico Granata 2015-12-16 01:15:49 +00:00
parent ae5433907a
commit b13293876c
2 changed files with 2 additions and 1 deletions
lldb
packages/Python/lldbsuite/test
test

View File

@ -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

1
lldb/test/testcases Symbolic link
View File

@ -0,0 +1 @@
../packages/Python/lldbsuite/test