From 34f21d18b56e5c3dbce62affcf1631fcb696bf48 Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Wed, 19 Dec 2012 17:19:28 +0000 Subject: [PATCH] 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 --- lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py | 1 + lldb/test/functionalities/platform/TestPlatformCommand.py | 1 + lldb/test/functionalities/register/TestRegisters.py | 1 + .../stop-hook/multiple_threads/TestStopHookMultipleThreads.py | 1 + lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py | 2 ++ lldb/test/python_api/hello_world/TestHelloWorld.py | 1 + 6 files changed, 7 insertions(+) diff --git a/lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py b/lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py index 8aadab7..b3ba14c 100644 --- a/lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py +++ b/lldb/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py @@ -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() diff --git a/lldb/test/functionalities/platform/TestPlatformCommand.py b/lldb/test/functionalities/platform/TestPlatformCommand.py index dbdebea..5e558b7 100644 --- a/lldb/test/functionalities/platform/TestPlatformCommand.py +++ b/lldb/test/functionalities/platform/TestPlatformCommand.py @@ -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']) diff --git a/lldb/test/functionalities/register/TestRegisters.py b/lldb/test/functionalities/register/TestRegisters.py index 71e827a..1ee5e43 100644 --- a/lldb/test/functionalities/register/TestRegisters.py +++ b/lldb/test/functionalities/register/TestRegisters.py @@ -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']: diff --git a/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py b/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py index 2710cf9..34f1d70 100644 --- a/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py +++ b/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py @@ -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) diff --git a/lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py b/lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py index 520c2b5..6c2bebb 100644 --- a/lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py +++ b/lldb/test/lang/cpp/class_types/TestClassTypesDisassembly.py @@ -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() diff --git a/lldb/test/python_api/hello_world/TestHelloWorld.py b/lldb/test/python_api/hello_world/TestHelloWorld.py index d6532aa..acb583b 100644 --- a/lldb/test/python_api/hello_world/TestHelloWorld.py +++ b/lldb/test/python_api/hello_world/TestHelloWorld.py @@ -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): -- 2.7.4