diff --git a/lldb/test/python_api/target/TestTargetAPI.py b/lldb/test/python_api/target/TestTargetAPI.py index 06c836d38db0..6c2c4fd47844 100644 --- a/lldb/test/python_api/target/TestTargetAPI.py +++ b/lldb/test/python_api/target/TestTargetAPI.py @@ -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):