From 043370524d7e7eac560a29628670094e018766b5 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 30 Jul 2013 13:08:24 +0000 Subject: [PATCH] tests: Mark expected FreeBSD failures due to pr16697 llvm-svn: 187415 --- lldb/test/expression_command/formatters/TestFormatters.py | 1 + lldb/test/expression_command/test/TestExprs.py | 1 + lldb/test/functionalities/alias/TestAliases.py | 1 + lldb/test/lang/c/function_types/TestFunctionTypes.py | 3 ++- lldb/test/lang/cpp/bool/TestCPPBool.py | 1 + lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py | 1 + lldb/test/lang/cpp/this/TestCPPThis.py | 1 + lldb/test/lang/cpp/virtual/TestVirtual.py | 1 + 8 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lldb/test/expression_command/formatters/TestFormatters.py b/lldb/test/expression_command/formatters/TestFormatters.py index 8f312f6e3cbe..70ed269a2a4a 100644 --- a/lldb/test/expression_command/formatters/TestFormatters.py +++ b/lldb/test/expression_command/formatters/TestFormatters.py @@ -25,6 +25,7 @@ class ExprFormattersTestCase(TestBase): self.buildDsym() self.do_my_test() + @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function' @dwarf_test def test_with_dwarf(self): """Test expr + formatters for good interoperability.""" diff --git a/lldb/test/expression_command/test/TestExprs.py b/lldb/test/expression_command/test/TestExprs.py index 422e05e3e2e6..363adf289db0 100644 --- a/lldb/test/expression_command/test/TestExprs.py +++ b/lldb/test/expression_command/test/TestExprs.py @@ -180,6 +180,7 @@ class BasicExprCommandsTestCase(TestBase): # rdar://problem/8686536 # CommandInterpreter::HandleCommand is stripping \'s from input for WantsRawCommand commands + @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function' def test_expr_commands_can_handle_quotes(self): """Throw some expression commands with quotes at lldb.""" self.buildDefault() diff --git a/lldb/test/functionalities/alias/TestAliases.py b/lldb/test/functionalities/alias/TestAliases.py index 99fb1d19fe0b..d3b86f27e497 100644 --- a/lldb/test/functionalities/alias/TestAliases.py +++ b/lldb/test/functionalities/alias/TestAliases.py @@ -18,6 +18,7 @@ class AliasTestCase(TestBase): self.buildDsym () self.alias_tests () + @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function' @dwarf_test def test_with_dwarf (self): self.buildDwarf () diff --git a/lldb/test/lang/c/function_types/TestFunctionTypes.py b/lldb/test/lang/c/function_types/TestFunctionTypes.py index 5cc6a8b6c91f..d6e4a28f1307 100644 --- a/lldb/test/lang/c/function_types/TestFunctionTypes.py +++ b/lldb/test/lang/c/function_types/TestFunctionTypes.py @@ -29,7 +29,8 @@ class FunctionTypesTestCase(TestBase): """Test that a function pointer to 'printf' works and can be called.""" self.buildDsym() self.function_pointers() - + + @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function' @dwarf_test def test_pointers_with_dwarf(self): """Test that a function pointer to 'printf' works and can be called.""" diff --git a/lldb/test/lang/cpp/bool/TestCPPBool.py b/lldb/test/lang/cpp/bool/TestCPPBool.py index 0337cca5aa35..e6eb18a6815a 100644 --- a/lldb/test/lang/cpp/bool/TestCPPBool.py +++ b/lldb/test/lang/cpp/bool/TestCPPBool.py @@ -16,6 +16,7 @@ class CPPBoolTestCase(TestBase): self.buildDsym() self.static_method_commands() + @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function' @dwarf_test def test_with_dwarf_and_run_command(self): """Test that bool types work in the expression parser""" diff --git a/lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py b/lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py index 357b050eb7b8..e228e1a85f60 100644 --- a/lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py +++ b/lldb/test/lang/cpp/static_methods/TestCPPStaticMethods.py @@ -17,6 +17,7 @@ class CPPStaticMethodsTestCase(TestBase): self.buildDsym() self.static_method_commands() + @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function' @dwarf_test def test_with_dwarf_and_run_command(self): """Test that static methods are properly distinguished from regular methods""" diff --git a/lldb/test/lang/cpp/this/TestCPPThis.py b/lldb/test/lang/cpp/this/TestCPPThis.py index bab85be56205..73c5b6dcb1a3 100644 --- a/lldb/test/lang/cpp/this/TestCPPThis.py +++ b/lldb/test/lang/cpp/this/TestCPPThis.py @@ -19,6 +19,7 @@ class CPPThisTestCase(TestBase): self.static_method_commands() #rdar://problem/9962849 + @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function' @expectedFailureGcc # llvm.org/pr15439 The 'this' pointer isn't available during expression evaluation when stopped in an inlined member function. @dwarf_test def test_with_dwarf_and_run_command(self): diff --git a/lldb/test/lang/cpp/virtual/TestVirtual.py b/lldb/test/lang/cpp/virtual/TestVirtual.py index ccecaebeef4d..3d7ae5d7aa05 100644 --- a/lldb/test/lang/cpp/virtual/TestVirtual.py +++ b/lldb/test/lang/cpp/virtual/TestVirtual.py @@ -28,6 +28,7 @@ class CppVirtualMadness(TestBase): self.buildDsym() self.virtual_madness_test() + @expectedFailureFreeBSD('llvm.org/pr16697') # Expression fails with 'there is no JIT compiled function' def test_virtual_madness_dwarf(self): """Test that expression works correctly with virtual inheritance as well as virtual function.""" self.buildDwarf()