Test suite cleanup for Linux: mark test cases expected to fail due to open bugzillas

- bugzillas covered: 14323, 14600, 14541, 14437, 14540, 14541

llvm-svn: 170564
This commit is contained in:
Daniel Malea 2012-12-19 17:19:28 +00:00
parent 696d7226d6
commit 34f21d18b5
6 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class ExprDoesntDeadlockTestCase(TestBase):
self.expr_doesnt_deadlock()
@dwarf_test
@expectedFailureLinux # due to bugzilla 14437
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

@ -18,6 +18,7 @@ class PlatformCommandTestCase(TestBase):
self.expect("platform list",
patterns = ['^Available platforms:'])
@expectedFailureLinux # due to bugzilla 14541
def test_process_list(self):
self.expect("platform process list",
substrs = ['PID', 'ARCH', 'NAME'])

View File

@ -20,6 +20,7 @@ class RegisterCommandsTestCase(TestBase):
self.buildDefault()
self.register_commands()
@expectedFailureLinux # due to bugzilla 14600
def test_convenience_registers(self):
"""Test convenience registers."""
if not self.getArchitecture() in ['x86_64']:

View File

@ -21,6 +21,7 @@ class StopHookForMultipleThreadsTestCase(TestBase):
self.stop_hook_multiple_threads()
@dwarf_test
@skipOnLinux # due to bugzilla 14323
def test_stop_hook_multiple_threads_with_dwarf(self):
"""Test that lldb stop-hook works for multiple threads."""
self.buildDwarf(dictionary=self.d)

View File

@ -20,6 +20,7 @@ class IterateFrameAndDisassembleTestCase(TestBase):
self.disassemble_call_stack()
@dwarf_test
@expectedFailureLinux # due to bugzilla 14540
def test_with_dwarf_and_run_command(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDwarf()
@ -35,6 +36,7 @@ class IterateFrameAndDisassembleTestCase(TestBase):
@python_api_test
@dwarf_test
@expectedFailureLinux # due to bugzilla 14540
def test_with_dwarf_and_python_api(self):
"""Disassemble each call frame when stopped on C's constructor."""
self.buildDwarf()

View File

@ -67,6 +67,7 @@ class HelloWorldTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.hello_world_attach_with_name_api()
@expectedFailureLinux # due to bugzilla 14541
@python_api_test
@dwarf_test
def test_with_dwarf_and_attach_to_process_with_name_api(self):