From 7b374be9465205c12c6f59a3cb13157d4d932b4a Mon Sep 17 00:00:00 2001 From: Michal Gorny Date: Fri, 8 Mar 2019 22:32:35 +0000 Subject: [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 --- .../test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/packages/Python/lldbsuite/test') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py index ca234ecc1f6..55651d5b5bb 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py @@ -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( -- cgit v1.2.3