Add assert to check the SBModule of SBSymbolContextList returned from SBTarget.FindFunctions().
llvm-svn: 134651
This commit is contained in:
@@ -134,6 +134,7 @@ class TargetAPITestCase(TestBase):
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user