Enabled a bunch of tests on Linux

Removed expectedFailureLinux from failures that I was unable to
reproduce, updated and improved some other comments near XFAIL tests

Differential Revision: http://reviews.llvm.org/D8676

llvm-svn: 233716
This commit is contained in:
Vince Harron 2015-03-31 17:44:37 +00:00
parent 7a0d89153f
commit 3d2979ee2f
13 changed files with 4 additions and 19 deletions

View File

@ -26,7 +26,6 @@ class ExprFormattersTestCase(TestBase):
self.do_my_test()
@expectedFailureFreeBSD('llvm.org/pr19011') # Newer Clang omits C1 complete object constructor
@expectedFailureLinux('llvm.org/pr20230')
@dwarf_test
def test_with_dwarf(self):
"""Test expr + formatters for good interoperability."""

View File

@ -22,7 +22,7 @@ class AttachResumeTestCase(TestBase):
self.buildDwarf()
self.process_attach_continue_interrupt_detach()
@expectedFailureLinux('llvm.org/pr19478')
@expectedFailureLinux('llvm.org/pr19478') # intermittent ~2/14 runs
@skipIfRemote
def process_attach_continue_interrupt_detach(self):
"""Test attach/continue/interrupt/detach"""

View File

@ -20,10 +20,6 @@ class DataFormatterSynthValueTestCase(TestBase):
self.data_formatter_commands()
@skipIfFreeBSD # llvm.org/pr20545 bogus output confuses buildbot parser
@expectedFailureLinux # non-core functionality, need to reenable and fix
# later (DES 2014.11.07). Most likely failing because
# of mis-match is version of libstdc++ supported by
# the data-formatters.
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test using Python synthetic children provider to provide a value."""

View File

@ -21,7 +21,6 @@ class Radar9974002DataFormatterTestCase(TestBase):
self.data_formatter_commands()
@dwarf_test
@expectedFailureLinux("llvm.org/pr20232")
def test_with_dwarf_and_run_command(self):
"""Test data formatter commands."""
self.buildDwarf()

View File

@ -21,7 +21,7 @@ class DynamicValueChildCountTestCase(TestBase):
self.buildDsym(dictionary=self.getBuildFlags())
self.do_get_dynamic_vals()
@expectedFailureLinux # FIXME: This needs to be root-caused. It looks like the DWARF info is anticipating the derived class assignment.
@expectedFailureLinux("llvm.org/pr23039")
@expectedFailureFreeBSD("llvm.org/pr19311") # continue at a breakpoint does not work
@python_api_test
@dwarf_test

View File

@ -24,7 +24,6 @@ class ExprDoesntDeadlockTestCase(TestBase):
@dwarf_test
@expectedFailureFreeBSD('llvm.org/pr17946')
@expectedFailureLinux('llvm.org/pr15258') # disabled due to assertion failure in ProcessMonitor::GetCrashReasonForSIGSEGV:
def test_with_dwarf_and_run_command(self):
"""Test that expr will time out and allow other threads to run if it blocks."""
self.buildDwarf()

View File

@ -38,7 +38,6 @@ class AssertingInferiorTestCase(TestBase):
@expectedFailurei386("llvm.org/pr17384: lldb needs to be aware of linux-vdso.so to unwind stacks properly")
@expectedFailureFreeBSD('llvm.org/pr18533 - PC in __assert frame is outside of function')
@expectedFailureLinux("PC in __GI___assert_fail frame is just after the function (this is a no-return so there is no epilogue afterwards)")
@expectedFailureWindows("llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows")
def test_inferior_asserting_disassemble(self):
"""Test that lldb reliably disassembles frames after asserting (command)."""

View File

@ -66,7 +66,6 @@ class CrashingInferiorTestCase(TestBase):
self.inferior_crashing_step_after_break()
@skipIfFreeBSD # llvm.org/pr16684
@expectedFailureLinux # due to llvm.org/pr15988 -- step over misbehaves after crash
def test_inferior_crashing_step_after_break_dwarf(self):
"""Test that lldb functions correctly after stepping through a crash."""
self.buildDwarf()
@ -79,7 +78,6 @@ class CrashingInferiorTestCase(TestBase):
self.inferior_crashing_expr_step_expr()
@expectedFailureFreeBSD('llvm.org/pr15989') # Couldn't allocate space for the stack frame
@expectedFailureLinux # due to llvm.org/pr15989 -- expression fails after crash and step
def test_inferior_crashing_expr_step_and_expr_dwarf(self):
"""Test that lldb expressions work before and after stepping after a crash."""
self.buildDwarf()

View File

@ -21,8 +21,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.hello_multiple_threads()
@skipIfGcc # causes intermittent gcc debian buildbot failures, skip until we can investigate
@expectedFailureLinux("llvm.org/pr20233") # note due to a @skipIfGcc above, this is going to check failure on Linux if using non-GCC (most likely clang)
@expectedFailureGcc("llvm.org/pr20233")
@dwarf_test
def test_watchpoint_multiple_threads_with_dwarf(self):
"""Test that lldb watchpoint works for multiple threads."""

View File

@ -10,7 +10,6 @@ import lldbutil
class ClassTypesTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
failing_compilers = ['clang', 'gcc']
@skipUnlessDarwin
@dsym_test
@ -74,7 +73,6 @@ class ClassTypesTestCase(TestBase):
# test/class_types test failures: runCmd: expr this->m_c_int
@dwarf_test
@expectedFailureFreeBSD('llvm.org/pr14540')
@expectedFailureLinux('llvm.org/pr14540', failing_compilers)
@expectedFailureDarwin(16362674)
def test_with_dwarf_and_constructor_name (self):
"""Test 'frame variable this' and 'expr this' when stopped inside a constructor."""

View File

@ -21,7 +21,6 @@ class DynamicValueTestCase(TestBase):
self.do_get_dynamic_vals()
@expectedFailureFreeBSD # FIXME: This needs to be root-caused.
@expectedFailureLinux # FIXME: This needs to be root-caused. It looks like the DWARF info is anticipating the derived class assignment.
@python_api_test
@dwarf_test
def test_get_dynamic_vals_with_dwarf(self):

View File

@ -75,7 +75,7 @@ class ThreadAPITestCase(TestBase):
self.step_out_of_malloc_into_function_b(self.exe_name)
@expectedFailureFreeBSD # llvm.org/pr20476
@expectedFailureLinux # llvm.org/pr14416
@expectedFailureLinux # need to 'thread step-out' twice to get out of malloc
@python_api_test
@dwarf_test
def test_step_out_of_malloc_into_function_b_with_dwarf(self):

View File

@ -19,7 +19,6 @@ class HelloWorldTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.do_test()
@expectedFailureLinux # non-core functionality, need to reenable and fix later (DES 2014.11.07)
@expectedFailureFreeBSD("llvm.org/pr21620 GetValueDidChange() wrong")
@python_api_test
@dwarf_test