Disable two new tests on Windows. They are failing but the logs are not helpful.

Also turn on the command trace unconditionally for TestThreadPlanCommands.py as the
tests for the Ubuntu bot don't seem to run with -t making it hard to see why this is
failing remotely.
This commit is contained in:
Jim Ingham 2020-04-03 17:13:07 -07:00
parent f9b570fbcf
commit 2d658c56d5
2 changed files with 7 additions and 3 deletions

View File

@ -8,6 +8,7 @@ from __future__ import print_function
import os
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
@ -17,6 +18,7 @@ class TestOSPluginStepping(TestBase):
mydir = TestBase.compute_mydir(__file__)
NO_DEBUG_INFO_TESTCASE = True
@skipIfWindows
def test_python_os_plugin(self):
"""Test that stepping works when the OS Plugin doesn't report all
threads at every stop"""
@ -24,6 +26,7 @@ class TestOSPluginStepping(TestBase):
self.main_file = lldb.SBFileSpec('main.cpp')
self.run_python_os_step_missing_thread(False)
@skipIfWindows
def test_python_os_plugin_prune(self):
"""Test that pruning the unreported PlanStacks works"""
self.build()

View File

@ -5,6 +5,7 @@ Test that thread plan listing, and deleting works.
import lldb
from lldbsuite.test.decorators import *
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.lldbtest import *
@ -15,6 +16,7 @@ class TestThreadPlanCommands(TestBase):
NO_DEBUG_INFO_TESTCASE = True
@skipIfWindows
def test_thread_plan_actions(self):
self.build()
self.main_source_file = lldb.SBFileSpec("main.c")
@ -32,9 +34,8 @@ class TestThreadPlanCommands(TestBase):
num_discarded = len(discarded_plans)
interp.HandleCommand(command, result)
if self.TraceOn():
print("Command: %s"%(command))
print(result.GetOutput())
print("Command: %s"%(command))
print(result.GetOutput())
if num_active == 0 and num_completed == 0 and num_discarded == 0:
self.assertFalse(result.Succeeded(), "command: '%s' succeeded when it should have failed: '%s'"%