diff options
7 files changed, 16 insertions, 1 deletions
diff --git a/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py b/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py index 1b28578b478..a5e578a4510 100644 --- a/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py +++ b/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py @@ -22,6 +22,7 @@ class BreakpointAfterJoinTestCase(TestBase): @expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained @expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained + @expectedFailureLLGS("llvm.org/pr15824") # thread states not properly maintained @dwarf_test def test_with_dwarf(self): """Test breakpoint handling after a thread join.""" diff --git a/lldb/test/functionalities/thread/create_during_step/TestCreateDuringStep.py b/lldb/test/functionalities/thread/create_during_step/TestCreateDuringStep.py index e98c19b9ee9..6acd64339cf 100644 --- a/lldb/test/functionalities/thread/create_during_step/TestCreateDuringStep.py +++ b/lldb/test/functionalities/thread/create_during_step/TestCreateDuringStep.py @@ -38,6 +38,7 @@ class CreateDuringStepTestCase(TestBase): @expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained @expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained + @expectedFailureLLGS("llvm.org/pr15824") # thread states not properly maintained @dwarf_test def test_step_inst_with_dwarf(self): """Test thread creation during step-inst handling.""" @@ -46,6 +47,7 @@ class CreateDuringStepTestCase(TestBase): @expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained @expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained + @expectedFailureLLGS("llvm.org/pr15824") # thread states not properly maintained @dwarf_test def test_step_over_with_dwarf(self): """Test thread creation during step-over handling.""" @@ -54,6 +56,7 @@ class CreateDuringStepTestCase(TestBase): @expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained @expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained + @expectedFailureLLGS("llvm.org/pr15824") # thread states not properly maintained @dwarf_test def test_step_in_with_dwarf(self): """Test thread creation during step-in handling.""" diff --git a/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py b/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py index 8d832fda333..378ad28acc5 100644 --- a/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py +++ b/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py @@ -22,6 +22,7 @@ class ExitDuringBreakpointTestCase(TestBase): @expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained @expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained + @expectedFailureLLGS("llvm.org/pr15824") # thread states not properly maintained @dwarf_test def test_with_dwarf(self): """Test thread exit during breakpoint handling.""" diff --git a/lldb/test/functionalities/thread/exit_during_step/TestExitDuringStep.py b/lldb/test/functionalities/thread/exit_during_step/TestExitDuringStep.py index 676d42ec036..1c8e304131b 100644 --- a/lldb/test/functionalities/thread/exit_during_step/TestExitDuringStep.py +++ b/lldb/test/functionalities/thread/exit_during_step/TestExitDuringStep.py @@ -22,6 +22,7 @@ class ExitDuringStepTestCase(TestBase): @expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained @expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained + @expectedFailureLLGS("llvm.org/pr15824") # thread states not properly maintained @dwarf_test def test_thread_state_is_stopped_with_dwarf(self): """Test thread exit during step handling.""" @@ -57,6 +58,7 @@ class ExitDuringStepTestCase(TestBase): self.exit_during_step_inst_test() @skipIfFreeBSD # llvm.org/pr21411: test is hanging + @expectedFailureLLGS("llvm.org/pr15824") # thread states not properly maintained @dwarf_test def test_step_over_with_dwarf(self): """Test thread exit during step-over handling.""" @@ -64,6 +66,7 @@ class ExitDuringStepTestCase(TestBase): self.exit_during_step_over_test() @skipIfFreeBSD # llvm.org/pr21411: test is hanging + @expectedFailureLLGS("llvm.org/pr15824") # thread states not properly maintained @dwarf_test def test_step_in_with_dwarf(self): """Test thread exit during step-in handling.""" diff --git a/lldb/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py b/lldb/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py index d3a627bb2c5..52cb19685d3 100644 --- a/lldb/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py +++ b/lldb/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py @@ -22,6 +22,7 @@ class MultipleBreakpointTestCase(TestBase): @expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained @expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained + @expectedFailureLLGS("llvm.org/pr15824") # thread states not properly maintained @dwarf_test def test_with_dwarf(self): """Test simultaneous breakpoints in multiple threads.""" diff --git a/lldb/test/functionalities/thread/state/TestThreadStates.py b/lldb/test/functionalities/thread/state/TestThreadStates.py index 4209893e772..b61d9fb7d64 100644 --- a/lldb/test/functionalities/thread/state/TestThreadStates.py +++ b/lldb/test/functionalities/thread/state/TestThreadStates.py @@ -20,9 +20,10 @@ class ThreadStateTestCase(TestBase): self.buildDsym(dictionary=self.getBuildFlags(use_cpp11=False)) self.thread_state_after_breakpoint_test() + @expectedFailureDarwin("rdar://15367566") @expectedFailureFreeBSD('llvm.org/pr15824') + @expectedFailureLLGS("llvm.org/pr15824") # thread states not properly maintained @dwarf_test - @expectedFailureDarwin("rdar://15367566") def test_state_after_breakpoint_with_dwarf(self): """Test thread state after breakpoint.""" self.buildDwarf(dictionary=self.getBuildFlags(use_cpp11=False)) diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py index 9c96018eb01..691c66b2bf2 100644 --- a/lldb/test/lldbtest.py +++ b/lldb/test/lldbtest.py @@ -519,6 +519,11 @@ def expectedFailureLinux(bugnumber=None, compilers=None): def expectedFailureWindows(bugnumber=None, compilers=None): if bugnumber: return expectedFailureOS('win32', bugnumber, compilers) +def expectedFailureLLGS(bugnumber=None, compilers=None): + def fn(self): + return 'PLATFORM_LINUX_FORCE_LLGS_LOCAL' in os.environ and self.expectedCompiler(compilers) + if bugnumber: return expectedFailure(fn, bugnumber) + def skipIfRemote(func): """Decorate the item to skip tests if testing remotely.""" if isinstance(func, type) and issubclass(func, unittest2.TestCase): |