Enable some tests on linux

This enables a couple of tests which have been shown to run reliably on the
linux x86 buildbot. If you see a failure after this commit, feel free to add
the xfail back, but please make it as specific as possible (i.e., try to make
it not cover i386/x86_64 with clang-3.5, clang-3.9 or gcc-4.9).

llvm-svn: 272326
This commit is contained in:
Pavel Labath 2016-06-09 22:39:36 +00:00
parent d5849279fc
commit b519f9fa61
7 changed files with 5 additions and 9 deletions

View File

@ -17,7 +17,6 @@ class BreakpointLocationsTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528")
@expectedFailureAll(oslist=["linux"], compiler="clang", compiler_version=[">=", "3.8"], archs=["i386"], debug_info="dwo")
def test(self):
"""Test breakpoint enable/disable for a breakpoint ID with multiple locations."""
self.build()

View File

@ -16,6 +16,7 @@ from lldbsuite.test import lldbutil
class CommandScriptImmediateOutputTestCase (PExpectTest):
mydir = TestBase.compute_mydir(__file__)
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
# Call super's setUp().
@ -23,7 +24,7 @@ class CommandScriptImmediateOutputTestCase (PExpectTest):
@skipIfRemote # test not remote-ready llvm.org/pr24813
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr22274: need a pexpect replacement for windows")
@expectedFailureAll(oslist=["freebsd","linux"], bugnumber="llvm.org/pr26139")
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr26139")
def test_command_script_immediate_output_console (self):
"""Test that LLDB correctly allows scripted commands to set immediate output to the console."""
self.launch(timeout=10)
@ -39,7 +40,7 @@ class CommandScriptImmediateOutputTestCase (PExpectTest):
@skipIfRemote # test not remote-ready llvm.org/pr24813
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr22274: need a pexpect replacement for windows")
@expectedFailureAll(oslist=["freebsd","linux"], bugnumber="llvm.org/pr26139")
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr26139")
def test_command_script_immediate_output_file (self):
"""Test that LLDB correctly allows scripted commands to set immediate output to a file."""
self.launch(timeout=10)

View File

@ -21,7 +21,6 @@ class BitfieldsTestCase(TestBase):
self.line = line_number('main.c', '// Set break point at this line.')
@skipIfWindows # BitFields exhibit crashes in record layout on Windows (http://llvm.org/pr21800)
@expectedFailureAll("llvm.org/pr27510", oslist=["linux"], compiler="clang", compiler_version=[">=", "3.9"])
def test_and_run_command(self):
"""Test 'frame variable ...' on a variable with bitfields."""
self.build()

View File

@ -22,7 +22,7 @@ class ConstVariableTestCase(TestBase):
compiler="clang", compiler_version=["=", "3.7"])
@expectedFailureAll(
oslist=["freebsd", "linux"],
compiler="clang", compiler_version=[">=", "3.8"])
compiler="clang", compiler_version=["=", "3.8"])
@expectedFailureAll(oslist=["freebsd", "linux"], compiler="icc")
@expectedFailureAll(archs=['mips', 'mipsel', 'mips64', 'mips64el'])
@expectedFailureAll(oslist=["linux"], archs=['arm', 'aarch64'], bugnumber="llvm.org/pr27883")

View File

@ -92,8 +92,7 @@ class RegisterVariableTestCase(TestBase):
@expectedFailureAll(compiler="clang", compiler_version=['<', '3.5'])
@expectedFailureAll(compiler="gcc", compiler_version=['>=', '4.8.2'])
@expectedFailureAll(oslist="linux", archs="i386")
@expectedFailureAll(compiler="gcc", compiler_version=['>=', '4.8.2'], archs="i386")
def test_and_run_command(self):
"""Test expressions on register values."""

View File

@ -8,7 +8,6 @@ class TestWithGmodulesDebugInfo(TestBase):
mydir = TestBase.compute_mydir(__file__)
@add_test_categories(["gmodules"])
@expectedFailureAll(bugnumber="llvm.org/pr27412")
def test_specialized_typedef_from_pch(self):
self.build()
cwd = os.getcwd()

View File

@ -11,7 +11,6 @@ class TestCppNsImport(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(oslist=['freebsd'], bugnumber="llvm.org/pr25925")
@expectedFailureAll(compiler="gcc", compiler_version=[">", "4.9"])
def test_with_run_command(self):
"""Tests imported namespaces in C++."""
self.build()