From 34bdbbdf97ca3a8fdfc53850a4b065951d7fa2ca Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 13 Sep 2013 15:34:59 +0000 Subject: [PATCH] test: Update FreeBSD failure decorators llvm.org/pr15261 missing size for static arrays llvm.org/pr15278 expressions generating signals llvm.org/pr15824 thread states aren't properly maintained llvm.org/pr16696 threaded inferior debugging not yet on FreeBSD llvm.org/pr17214 inline stepping fails on FreeBSD llvm.org/pr17225 Clang assertion failure llvm.org/pr17226 frame info lost after failed expression evaluation llvm.org/pr17228 test timeout The first three are existing Linux issues that also affect FreeBSD. llvm-svn: 190698 --- lldb/test/api/multithreaded/TestMultithreaded.py | 4 ++++ .../expression_command/call-restarts/TestCallThatRestarts.py | 1 + .../embedded_interpreter/TestConvenienceVariables.py | 1 + .../functionalities/inferior-assert/TestInferiorAssert.py | 3 ++- .../functionalities/inline-stepping/TestInlineStepping.py | 1 + lldb/test/functionalities/thread/state/TestThreadStates.py | 1 + lldb/test/lang/c/stepping/TestStepAndBreakpoints.py | 1 + lldb/test/lang/cpp/class_static/TestStaticVariables.py | 1 + lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py | 1 + 9 files changed, 13 insertions(+), 1 deletion(-) diff --git a/lldb/test/api/multithreaded/TestMultithreaded.py b/lldb/test/api/multithreaded/TestMultithreaded.py index b8d74ef76557..a7ef5987adfc 100644 --- a/lldb/test/api/multithreaded/TestMultithreaded.py +++ b/lldb/test/api/multithreaded/TestMultithreaded.py @@ -19,6 +19,7 @@ class SBBreakpointCallbackCase(TestBase): self.addTearDownHook(lambda: os.remove(self.inferior)) @unittest2.expectedFailure # llvm.org/pr16000: SBBreakpoint.SetCallback() does nothing + @skipIfFreeBSD # llvm.org/pr16696 - also build issues with libstdc++ on FreeBSD < 10.0 @skipIfi386 @skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11 def test_breakpoint_callback(self): @@ -26,6 +27,7 @@ class SBBreakpointCallbackCase(TestBase): self.build_and_test('driver.cpp test_breakpoint_callback.cpp', 'test_breakpoint_callback') + @skipIfFreeBSD # llvm.org/pr16696 @skipIfi386 @skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11 def test_sb_api_listener_event_description(self): @@ -34,6 +36,7 @@ class SBBreakpointCallbackCase(TestBase): 'test_listener_event_description') pass + @skipIfFreeBSD # llvm.org/pr16696 @skipIfi386 @skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11 def test_sb_api_listener_event_process_state(self): @@ -45,6 +48,7 @@ class SBBreakpointCallbackCase(TestBase): pass + @skipIfFreeBSD # llvm.org/pr16696 @skipIfi386 @skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11 @skipIfLinux # llvm.org/pr16016 assertion failure in ProcessPOSIX.cpp. diff --git a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py index 9c57d98f5f56..e48f8eb954b6 100644 --- a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py +++ b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py @@ -26,6 +26,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase): self.buildDsym() self.call_function() + @skipIfFreeBSD # llvm.org/pr15278 @skipIfLinux # llvm.org/pr15278: handle expressions that generate signals on Linux @dwarf_test def test_with_dwarf(self): diff --git a/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py b/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py index 73f9d34652f6..e23cde783be8 100644 --- a/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py +++ b/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py @@ -18,6 +18,7 @@ class ConvenienceVariablesCase(TestBase): self.convenience_variables() @dwarf_test + @skipIfFreeBSD # llvm.org/pr17228 @skipIfLinux # llvm.org/pr14637: this test case fails sometimes because the input prompt "(lldb)" is missing def test_with_dwarf_and_run_commands(self): """Test convenience variables lldb.debugger, lldb.target, lldb.process, lldb.thread, and lldb.frame.""" diff --git a/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py index 10c02ca0ff60..437453a90c2a 100644 --- a/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py +++ b/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py @@ -33,9 +33,10 @@ class AssertingInferiorTestCase(TestBase): self.inferior_asserting_registers() @skipIfGcc # Avoid xpasses as the verion of libc used on the gcc buildbot has the required function symbols. + @expectedFailureFreeBSD # ResolveSymbolContextForAddress can fail using ELF with stripped function symbols. @expectedFailureLinux # ResolveSymbolContextForAddress can fail using ELF with stripped function symbols. def test_inferior_asserting_disassemble(self): - """Test that lldb reliably disassemblers frames after asserting (command).""" + """Test that lldb reliably disassembles frames after asserting (command).""" self.buildDefault() self.inferior_asserting_disassemble() diff --git a/lldb/test/functionalities/inline-stepping/TestInlineStepping.py b/lldb/test/functionalities/inline-stepping/TestInlineStepping.py index 16ee80f74f4c..6726090a29b5 100644 --- a/lldb/test/functionalities/inline-stepping/TestInlineStepping.py +++ b/lldb/test/functionalities/inline-stepping/TestInlineStepping.py @@ -20,6 +20,7 @@ class TestInlineStepping(TestBase): @python_api_test @dwarf_test + @expectedFailureFreeBSD('llvm.org/pr17214') @expectedFailureIcc # Not really a bug. ICC combines two inlined functions. def test_with_dwarf_and_python_api(self): """Test stepping over and into inlined functions.""" diff --git a/lldb/test/functionalities/thread/state/TestThreadStates.py b/lldb/test/functionalities/thread/state/TestThreadStates.py index 8b5ea25030c7..3a0668384cce 100644 --- a/lldb/test/functionalities/thread/state/TestThreadStates.py +++ b/lldb/test/functionalities/thread/state/TestThreadStates.py @@ -19,6 +19,7 @@ class ThreadStateTestCase(TestBase): self.buildDsym(dictionary=self.getBuildFlags(use_cpp11=False)) self.thread_state_after_breakpoint_test() + @expectedFailureFreeBSD('llvm.org/pr15824') @dwarf_test def test_state_after_breakpoint_with_dwarf(self): """Test thread state after breakpoint.""" diff --git a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py b/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py index a1979efdcca4..1c59d535cbed 100644 --- a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py +++ b/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py @@ -21,6 +21,7 @@ class TestCStepping(TestBase): self.buildDsym() self.step_over_stepping() + @expectedFailureFreeBSD('llvm.org/pr17226') @expectedFailureLinux # llvm.org/pr14437 @python_api_test @dwarf_test diff --git a/lldb/test/lang/cpp/class_static/TestStaticVariables.py b/lldb/test/lang/cpp/class_static/TestStaticVariables.py index d1f9f8118c24..248763eb2f1c 100644 --- a/lldb/test/lang/cpp/class_static/TestStaticVariables.py +++ b/lldb/test/lang/cpp/class_static/TestStaticVariables.py @@ -20,6 +20,7 @@ class StaticVariableTestCase(TestBase): self.buildDsym() self.static_variable_commands() + @expectedFailureFreeBSD('llvm.org/pr15261', failing_compilers) # lldb on FreeBSD does not display the size of (class or file)static arrays @expectedFailureLinux('llvm.org/pr15261', failing_compilers) # lldb on Linux does not display the size of (class or file)static arrays @dwarf_test def test_with_dwarf_and_run_command(self): diff --git a/lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py b/lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py index 6922122c3471..0778eed71dea 100644 --- a/lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py +++ b/lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py @@ -20,6 +20,7 @@ class DynamicValueTestCase(TestBase): self.buildDsym() self.do_get_dynamic_vals() + @expectedFailureFreeBSD('llvm.org/pr17225') @python_api_test @dwarf_test def test_get_dynamic_vals_with_dwarf(self):