[Lldb-commits] [lldb] r255141 - Remove -libcxx option from dotest.py

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 9 11:45:17 PST 2015

Author: zturner
Date: Wed Dec  9 13:45:16 2015
New Revision: 255141

URL: http://llvm.org/viewvc/llvm-project?rev=255141&view=rev
Remove -libcxx option from dotest.py

Nobody was using this, and plus it can be achieved just as well
by using -E to set an environment variable.


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=255141&r1=255140&r2=255141&view=diff
--- lldb/trunk/packages/Python/lldbsuite/test/dotest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dotest.py Wed Dec  9 13:45:16 2015
@@ -346,9 +346,6 @@ def parseOptionsAndInitTestdirs():
     if args.executable:
         lldbtest_config.lldbExec = args.executable
-    if args.libcxx:
-        os.environ["LIBCXX_PATH"] = args.libcxx
     if args.n:
         configuration.noHeaders = True

Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py?rev=255141&r1=255140&r2=255141&view=diff
--- lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py Wed Dec  9 13:45:16 2015
@@ -70,7 +70,6 @@ def create_parser():
     group = parser.add_argument_group('Configuration options')
     group.add_argument('--framework', metavar='framework-path', help='The path to LLDB.framework')
     group.add_argument('--executable', metavar='executable-path', help='The path to the lldb executable')
-    group.add_argument('--libcxx', metavar='directory', help='The path to custom libc++ library')
     group.add_argument('-e', metavar='benchmark-exe', help='Specify the full path of an executable used for benchmark purposes (see also: -x)')
     group.add_argument('-k', metavar='command', action='append', help="Specify a runhook, which is an lldb command to be executed by the debugger; The option can occur multiple times. The commands are executed one after the other to bring the debugger to a desired state, so that, for example, further benchmarking can be done")
     group.add_argument('-R', metavar='dir', help='Specify a directory to relocate the tests and their intermediate files to. BE WARNED THAT the directory, if exists, will be deleted before running this test driver. No cleanup of intermediate test files is performed in this case')

More information about the lldb-commits mailing list