[Lldb-commits] [lldb] r230102 - Fix the test so it runs correctly when there are spaces in the path to the stdc++ library.

Greg Clayton gclayton at apple.com
Fri Feb 20 16:28:32 PST 2015


Author: gclayton
Date: Fri Feb 20 18:28:32 2015
New Revision: 230102

URL: http://llvm.org/viewvc/llvm-project?rev=230102&view=rev
Log:
Fix the test so it runs correctly when there are spaces in the path to the stdc++ library.

<rdar://problem/19297312>


Modified:
    lldb/trunk/test/lang/cpp/stl/TestStdCXXDisassembly.py

Modified: lldb/trunk/test/lang/cpp/stl/TestStdCXXDisassembly.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/stl/TestStdCXXDisassembly.py?rev=230102&r1=230101&r2=230102&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/stl/TestStdCXXDisassembly.py (original)
+++ lldb/trunk/test/lang/cpp/stl/TestStdCXXDisassembly.py Fri Feb 20 18:28:32 2015
@@ -69,7 +69,7 @@ class StdCXXDisassembleTestCase(TestBase
         self.expect(lib_stdcxx, "Libraray StdC++ is located", exe=False,
             substrs = ["lib"])
 
-        self.runCmd("image dump symtab %s" % lib_stdcxx)
+        self.runCmd("image dump symtab '%s'" % lib_stdcxx)
         raw_output = self.res.GetOutput()
         # Now, look for every 'Code' symbol and feed its load address into the
         # command: 'disassemble -s load_address -e end_address', where the





More information about the lldb-commits mailing list