From 218894788d8735cf9ad7c2dbc53fbd3f6a31d84f Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Mon, 19 Nov 2012 20:55:52 +0000 Subject: [PATCH] Temporarily skip tests known to hang on Linux - opened bugzilla defects #14384 and #14385 llvm-svn: 168323 --- .../breakpoint/breakpoint_command/TestBreakpointCommand.py | 1 + lldb/test/python_api/event/TestEvents.py | 2 ++ lldb/test/types/TestFloatTypes.py | 2 ++ lldb/test/types/TestFloatTypesExpr.py | 2 ++ lldb/test/types/TestIntegerTypes.py | 10 ++++++++++ lldb/test/types/TestIntegerTypesExpr.py | 10 ++++++++++ 6 files changed, 27 insertions(+) diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py b/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py index 7eb3acf..bda402d 100644 --- a/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py +++ b/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py @@ -26,6 +26,7 @@ class BreakpointCommandTestCase(TestBase): self.breakpoint_command_sequence() self.breakpoint_command_script_parameters () + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_with_dwarf(self): """Test a sequence of breakpoint command add, list, and delete.""" diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/test/python_api/event/TestEvents.py index a9a7edc..0ea3061 100644 --- a/lldb/test/python_api/event/TestEvents.py +++ b/lldb/test/python_api/event/TestEvents.py @@ -20,6 +20,7 @@ class EventAPITestCase(TestBase): self.buildDsym() self.do_listen_for_and_print_event() + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14384") @python_api_test @dwarf_test def test_listen_for_and_print_event_with_dwarf(self): @@ -35,6 +36,7 @@ class EventAPITestCase(TestBase): self.buildDsym() self.do_wait_for_event() + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14384") @python_api_test @dwarf_test def test_wait_for_event_with_dwarf(self): diff --git a/lldb/test/types/TestFloatTypes.py b/lldb/test/types/TestFloatTypes.py index 6cceb56..0d7840a 100644 --- a/lldb/test/types/TestFloatTypes.py +++ b/lldb/test/types/TestFloatTypes.py @@ -24,6 +24,7 @@ class FloatTypesTestCase(AbstractBase.GenericTester): """Test that float-type variables are displayed correctly from a block.""" self.build_and_run('float.cpp', set(['float']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_float_type_with_dwarf(self): """Test that float-type variables are displayed correctly.""" @@ -41,6 +42,7 @@ class FloatTypesTestCase(AbstractBase.GenericTester): """Test that double-type variables are displayed correctly from a block.""" self.build_and_run('double.cpp', set(['double']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_double_type_with_dwarf(self): """Test that double-type variables are displayed correctly.""" diff --git a/lldb/test/types/TestFloatTypesExpr.py b/lldb/test/types/TestFloatTypesExpr.py index d661e35..8472227 100644 --- a/lldb/test/types/TestFloatTypesExpr.py +++ b/lldb/test/types/TestFloatTypesExpr.py @@ -27,6 +27,7 @@ class FloatTypesExprTestCase(AbstractBase.GenericTester): """Test that float-type variables are displayed correctly from a block.""" self.build_and_run_expr('float.cpp', set(['float']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_float_type_with_dwarf(self): """Test that float-type variable expressions are evaluated correctly.""" @@ -44,6 +45,7 @@ class FloatTypesExprTestCase(AbstractBase.GenericTester): """Test that double-type variables are displayed correctly from a block.""" self.build_and_run_expr('double.cpp', set(['double']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_double_type_with_dwarf(self): """Test that double-type variable expressions are evaluated correctly.""" diff --git a/lldb/test/types/TestIntegerTypes.py b/lldb/test/types/TestIntegerTypes.py index 68a3187..38f30ca 100644 --- a/lldb/test/types/TestIntegerTypes.py +++ b/lldb/test/types/TestIntegerTypes.py @@ -24,6 +24,7 @@ class IntegerTypesTestCase(AbstractBase.GenericTester): """Test that char-type variables are displayed correctly from a block.""" self.build_and_run('char.cpp', set(['char']), bc=True, qd=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_char_type_with_dwarf(self): """Test that char-type variables are displayed correctly.""" @@ -41,6 +42,7 @@ class IntegerTypesTestCase(AbstractBase.GenericTester): """Test that 'unsigned char'-type variables are displayed correctly from a block.""" self.build_and_run('unsigned_char.cpp', set(['unsigned', 'char']), bc=True, qd=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_unsigned_char_type_with_dwarf(self): """Test that 'unsigned char'-type variables are displayed correctly.""" @@ -58,6 +60,7 @@ class IntegerTypesTestCase(AbstractBase.GenericTester): """Test that short-type variables are displayed correctly from a block.""" self.build_and_run('short.cpp', set(['short']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_short_type_with_dwarf(self): """Test that short-type variables are displayed correctly.""" @@ -75,6 +78,7 @@ class IntegerTypesTestCase(AbstractBase.GenericTester): """Test that 'unsigned short'-type variables are displayed correctly from a block.""" self.build_and_run('unsigned_short.cpp', set(['unsigned', 'short']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_unsigned_short_type_with_dwarf(self): """Test that 'unsigned short'-type variables are displayed correctly.""" @@ -92,6 +96,7 @@ class IntegerTypesTestCase(AbstractBase.GenericTester): """Test that int-type variables are displayed correctly from a block.""" self.build_and_run('int.cpp', set(['int']), dsym=False) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_int_type_with_dwarf(self): """Test that int-type variables are displayed correctly.""" @@ -109,6 +114,7 @@ class IntegerTypesTestCase(AbstractBase.GenericTester): """Test that 'unsigned int'-type variables are displayed correctly from a block.""" self.build_and_run('unsigned_int.cpp', set(['unsigned', 'int']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_unsigned_int_type_with_dwarf(self): """Test that 'unsigned int'-type variables are displayed correctly.""" @@ -126,6 +132,7 @@ class IntegerTypesTestCase(AbstractBase.GenericTester): """Test that long-type variables are displayed correctly from a block.""" self.build_and_run('long.cpp', set(['long']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_long_type_with_dwarf(self): """Test that long-type variables are displayed correctly.""" @@ -143,6 +150,7 @@ class IntegerTypesTestCase(AbstractBase.GenericTester): """Test that 'unsigned_long'-type variables are displayed correctly from a block.""" self.build_and_run('unsigned_long.cpp', set(['unsigned', 'long']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_unsigned_long_type_with_dwarf(self): """Test that 'unsigned long'-type variables are displayed correctly.""" @@ -163,6 +171,7 @@ class IntegerTypesTestCase(AbstractBase.GenericTester): """Test that 'long_long'-type variables are displayed correctly from a block.""" self.build_and_run('long_long.cpp', set(['long long']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_long_long_type_with_dwarf(self): """Test that 'long long'-type variables are displayed correctly.""" @@ -180,6 +189,7 @@ class IntegerTypesTestCase(AbstractBase.GenericTester): """Test that 'unsigned_long_long'-type variables are displayed correctly from a block.""" self.build_and_run('unsigned_long_long.cpp', set(['unsigned', 'long long']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_unsigned_long_long_type_with_dwarf(self): """Test that 'unsigned long long'-type variables are displayed correctly.""" diff --git a/lldb/test/types/TestIntegerTypesExpr.py b/lldb/test/types/TestIntegerTypesExpr.py index 66efa6e..a316526 100644 --- a/lldb/test/types/TestIntegerTypesExpr.py +++ b/lldb/test/types/TestIntegerTypesExpr.py @@ -24,6 +24,7 @@ class IntegerTypesExprTestCase(AbstractBase.GenericTester): """Test that char-type variables are displayed correctly from a block.""" self.build_and_run_expr('char.cpp', set(['char']), bc=True, qd=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_char_type_with_dwarf(self): """Test that char-type variable expressions are evaluated correctly.""" @@ -41,6 +42,7 @@ class IntegerTypesExprTestCase(AbstractBase.GenericTester): """Test that 'unsigned char'-type variables are displayed correctly from a block.""" self.build_and_run_expr('unsigned_char.cpp', set(['unsigned', 'char']), bc=True, qd=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_unsigned_char_type_with_dwarf(self): """Test that 'unsigned char'-type variable expressions are evaluated correctly.""" @@ -58,6 +60,7 @@ class IntegerTypesExprTestCase(AbstractBase.GenericTester): """Test that short-type variables are displayed correctly from a block.""" self.build_and_run_expr('short.cpp', set(['short']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_short_type_with_dwarf(self): """Test that short-type variable expressions are evaluated correctly.""" @@ -75,6 +78,7 @@ class IntegerTypesExprTestCase(AbstractBase.GenericTester): """Test that 'unsigned short'-type variables are displayed correctly from a block.""" self.build_and_run_expr('unsigned_short.cpp', set(['unsigned', 'short']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_unsigned_short_type_with_dwarf(self): """Test that 'unsigned short'-type variable expressions are evaluated correctly.""" @@ -92,6 +96,7 @@ class IntegerTypesExprTestCase(AbstractBase.GenericTester): """Test that int-type variables are displayed correctly from a block.""" self.build_and_run_expr('int.cpp', set(['int']), dsym=False) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_int_type_with_dwarf(self): """Test that int-type variable expressions are evaluated correctly.""" @@ -109,6 +114,7 @@ class IntegerTypesExprTestCase(AbstractBase.GenericTester): """Test that 'unsigned int'-type variables are displayed correctly from a block.""" self.build_and_run_expr('unsigned_int.cpp', set(['unsigned', 'int']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_unsigned_int_type_with_dwarf(self): """Test that 'unsigned int'-type variable expressions are evaluated correctly.""" @@ -126,6 +132,7 @@ class IntegerTypesExprTestCase(AbstractBase.GenericTester): """Test that long-type variables are displayed correctly from a block.""" self.build_and_run_expr('long.cpp', set(['long']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_long_type_with_dwarf(self): """Test that long-type variable expressions are evaluated correctly.""" @@ -143,6 +150,7 @@ class IntegerTypesExprTestCase(AbstractBase.GenericTester): """Test that 'unsigned_long'-type variables are displayed correctly from a block.""" self.build_and_run_expr('unsigned_long.cpp', set(['unsigned', 'long']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_unsigned_long_type_with_dwarf(self): """Test that 'unsigned long'-type variable expressions are evaluated correctly.""" @@ -163,6 +171,7 @@ class IntegerTypesExprTestCase(AbstractBase.GenericTester): """Test that 'long_long'-type variables are displayed correctly from a block.""" self.build_and_run_expr('long_long.cpp', set(['long long']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_long_long_type_with_dwarf(self): """Test that 'long long'-type variable expressions are evaluated correctly.""" @@ -180,6 +189,7 @@ class IntegerTypesExprTestCase(AbstractBase.GenericTester): """Test that 'unsigned_long_long'-type variables are displayed correctly from a block.""" self.build_and_run_expr('unsigned_long_long.cpp', set(['unsigned', 'long long']), bc=True) + @unittest2.skipIf(sys.platform.startswith("linux"), "Hanging on Linux: bugzilla #14385") @dwarf_test def test_unsigned_long_long_type_with_dwarf(self): """Test that 'unsigned long long'-type variable expressions are evaluated correctly.""" -- 2.7.4