[Lldb-commits] [lldb] 3270748 - The thread plan list test is failing at least on Ubuntu Linux.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 3 20:06:20 PDT 2020


Author: Jim Ingham
Date: 2020-04-03T20:06:11-07:00
New Revision: 327074812707d41f492a0e23940430422a9cd237

URL: https://github.com/llvm/llvm-project/commit/327074812707d41f492a0e23940430422a9cd237
DIFF: https://github.com/llvm/llvm-project/commit/327074812707d41f492a0e23940430422a9cd237.diff

LOG: The thread plan list test is failing at least on Ubuntu Linux.
Mark it expected fail for now.

The test output shows that the "internal" thread listing isn't showing the
step out plan that we use to step back out of a function we're stepping into.
The internal plan listing code has nothing platform specific in it, so that
isn't the problem.

I am pretty sure the difference is that on MacOS we step into the function and then need to
step back out again so we push the internal plan the test is checking for.  But on Linux we
are able to step past the function without stepping into it.

So nothing is actually going wrong here, I just need to find a better test case where I
can ensure we are going to have to push a private plan.  It's probably better to test this
using a custom thread plan, then I can control the state of the plan stack better.

That's for Monday...

Added: 
    

Modified: 
    lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py b/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py
index c301e8cf8441..b4ae9107aceb 100644
--- a/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py
+++ b/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py
@@ -17,6 +17,7 @@ class TestThreadPlanCommands(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
     @skipIfWindows
+    @expectedFailureAll(oslist=["Linux"])
     def test_thread_plan_actions(self):
         self.build()
         self.main_source_file = lldb.SBFileSpec("main.c")


        


More information about the lldb-commits mailing list