[Lldb-commits] [PATCH] D53415: [lldbsuite, windows] Disable two tail call frames tests that fail on Windows

Stella Stamenova via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 18 17:04:49 PDT 2018


stella.stamenova created this revision.
stella.stamenova added reviewers: asmith, vsk.
Herald added subscribers: lldb-commits, abidh.

These tests fail on Windows because of known limitations (a.k.a. bugs) with the current implementation of GetFrameAtIndex


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D53415

Files:
  packages/Python/lldbsuite/test/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py
  packages/Python/lldbsuite/test/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py


Index: packages/Python/lldbsuite/test/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py
===================================================================
--- packages/Python/lldbsuite/test/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py
+++ packages/Python/lldbsuite/test/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py
@@ -4,6 +4,7 @@
 
 import lldb
 import lldbsuite.test.lldbutil as lldbutil
+from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
 
 class TestArtificialFrameThreadStepOut1(TestBase):
@@ -51,6 +52,7 @@
         #   frame #4: ... a.out`main at main.cpp:23:3 [opt]
         return thread
 
+    @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr26265")
     def test_stepping_out_past_artificial_frame(self):
         self.build()
         thread = self.prepare_thread()
@@ -68,6 +70,7 @@
         self.assertEqual(frame4.GetDisplayFunctionName(), "main")
         self.assertFalse(frame2.IsArtificial())
 
+    @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr26265")
     def test_return_past_artificial_frame(self):
         self.build()
         thread = self.prepare_thread()
Index: packages/Python/lldbsuite/test/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py
===================================================================
--- packages/Python/lldbsuite/test/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py
+++ packages/Python/lldbsuite/test/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py
@@ -4,6 +4,7 @@
 
 import lldb
 import lldbsuite.test.lldbutil as lldbutil
+from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
 
 class TestTailCallFrameSBAPI(TestBase):
@@ -14,6 +15,7 @@
     # each debug info format.
     NO_DEBUG_INFO_TESTCASE = True
 
+    @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr26265")
     def test_tail_call_frame_sbapi(self):
         self.build()
         self.do_test()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53415.170135.patch
Type: text/x-patch
Size: 2142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181019/b9e2c1a9/attachment.bin>


More information about the lldb-commits mailing list