[Lldb-commits] [lldb] r230101 - Fix this test case so it runs correctly.
Greg Clayton
gclayton at apple.com
Fri Feb 20 16:23:36 PST 2015
Author: gclayton
Date: Fri Feb 20 18:23:36 2015
New Revision: 230101
URL: http://llvm.org/viewvc/llvm-project?rev=230101&view=rev
Log:
Fix this test case so it runs correctly.
<rdar://problem/19286788>
Modified:
lldb/trunk/test/lang/objc/foundation/TestFoundationDisassembly.py
Modified: lldb/trunk/test/lang/objc/foundation/TestFoundationDisassembly.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/foundation/TestFoundationDisassembly.py?rev=230101&r1=230100&r2=230101&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/foundation/TestFoundationDisassembly.py (original)
+++ lldb/trunk/test/lang/objc/foundation/TestFoundationDisassembly.py Fri Feb 20 18:23:36 2015
@@ -28,16 +28,18 @@ class FoundationDisassembleTestCase(Test
self.assertTrue(target, VALID_TARGET)
# Now launch the process, and do not stop at entry point.
- process = target.LaunchSimple (None, environment, self.get_process_working_directory())
+ process = target.LaunchSimple (None, None, self.get_process_working_directory())
self.assertTrue(process, PROCESS_IS_VALID)
+ foundation_framework = None
for module in target.modules:
+ print module
if module.file.basename == "Foundation":
foundation_framework = module.file.fullpath
break
- self.assertTrue(match, "Foundation.framework path located")
- self.runCmd("image dump symtab %s" % foundation_framework)
+ self.assertTrue(foundation_framework != None, "Foundation.framework path located")
+ self.runCmd("image dump symtab '%s'" % foundation_framework)
raw_output = self.res.GetOutput()
# Now, grab every 'Code' symbol and feed it into the command:
# 'disassemble -n func'.
More information about the lldb-commits
mailing list