[Lldb-commits] [lldb] r134651 - /lldb/trunk/test/python_api/target/TestTargetAPI.py
Johnny Chen
johnny.chen at apple.com
Thu Jul 7 15:45:54 PDT 2011
Author: johnny
Date: Thu Jul 7 17:45:54 2011
New Revision: 134651
URL: http://llvm.org/viewvc/llvm-project?rev=134651&view=rev
Log:
Add assert to check the SBModule of SBSymbolContextList returned from SBTarget.FindFunctions().
Modified:
lldb/trunk/test/python_api/target/TestTargetAPI.py
Modified: lldb/trunk/test/python_api/target/TestTargetAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/target/TestTargetAPI.py?rev=134651&r1=134650&r2=134651&view=diff
==============================================================================
--- lldb/trunk/test/python_api/target/TestTargetAPI.py (original)
+++ lldb/trunk/test/python_api/target/TestTargetAPI.py Thu Jul 7 17:45:54 2011
@@ -134,6 +134,7 @@
self.assertTrue(num == 1 and list.GetSize() == 1)
for sc in list:
+ self.assertTrue(sc.GetModule().GetFileSpec().GetFilename() == exe_name)
self.assertTrue(sc.GetSymbol().GetName() == 'c')
def get_description(self):
More information about the lldb-commits
mailing list