forked from OSchip/llvm-project
[lldb] [test] Do not check libc function names in NetBSD core test
Fix the NetBSD core test not to verify libc function names in backtrace. This obviously requires the same libc.so as originally used to produce the core file, and so it is going to fail everywhere except on my system. llvm-svn: 355747
This commit is contained in:
parent
2714d58901
commit
7b374be946
|
@ -130,8 +130,8 @@ class NetBSDCoreCommonTestCase(TestBase):
|
|||
for i in range(len(backtrace)):
|
||||
frame = thread.GetFrameAtIndex(i)
|
||||
self.assertTrue(frame)
|
||||
self.assertEqual(frame.GetFunctionName(), backtrace[i])
|
||||
if not backtrace[i].startswith('_'):
|
||||
self.assertEqual(frame.GetFunctionName(), backtrace[i])
|
||||
self.assertEqual(frame.GetLineEntry().GetLine(),
|
||||
line_number(src, "Frame " + backtrace[i]))
|
||||
self.assertEqual(
|
||||
|
|
Loading…
Reference in New Issue