Author: mgorny
Date: Fri Mar  8 14:32:35 2019
New Revision: 355747

URL: http://llvm.org/viewvc/llvm-project?rev=355747&view=rev
Log:
[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.

Modified:
    
lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py

Modified: 
lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py?rev=355747&r1=355746&r2=355747&view=diff
==============================================================================
--- 
lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py
 (original)
+++ 
lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/netbsd-core/TestNetBSDCore.py
 Fri Mar  8 14:32:35 2019
@@ -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(


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to