Author: enrico Date: Tue Dec 15 19:15:49 2015 New Revision: 255741 URL: http://llvm.org/viewvc/llvm-project?rev=255741&view=rev Log: 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> Added: lldb/trunk/test/testcases (with props) Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest.py Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/dotest.py?rev=255741&r1=255740&r2=255741&view=diff ============================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/dotest.py (original) +++ lldb/trunk/packages/Python/lldbsuite/test/dotest.py Tue Dec 15 19:15:49 2015 @@ -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 Added: lldb/trunk/test/testcases URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/testcases?rev=255741&view=auto ============================================================================== --- lldb/trunk/test/testcases (added) +++ lldb/trunk/test/testcases Tue Dec 15 19:15:49 2015 @@ -0,0 +1 @@ +link ../packages/Python/lldbsuite/test \ No newline at end of file Propchange: lldb/trunk/test/testcases ------------------------------------------------------------------------------ svn:special = * _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits