diff options
author | Stella Stamenova <stilis@microsoft.com> | 2018-08-02 21:26:19 +0000 |
---|---|---|
committer | Stella Stamenova <stilis@microsoft.com> | 2018-08-02 21:26:19 +0000 |
commit | 0faca0f09f43369ab7132f884d4f54873f54a168 (patch) | |
tree | 3993dce2ef092d57e336991c8c8ffba0789c43a9 /lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit | |
parent | db3e54436ebdda3deb4efc297c1c9a0fd0a03222 (diff) | |
download | bcm5719-llvm-0faca0f09f43369ab7132f884d4f54873f54a168.tar.gz bcm5719-llvm-0faca0f09f43369ab7132f884d4f54873f54a168.zip |
[lldbsuite, windows] Mark tests as XFAIL on Windows or skip them
Summary:
1) Several tests that are flakey on windows fail the run even if they are marked as expected to be flakey. This is because they fail frequently enough that even a retry won't help
2) Skip several tests on Windows that will occasionally hang rather than failing or exiting. This is causing the entire test suite to hang
Reviewers: asmith, labath, zturner
Reviewed By: zturner
Differential Revision: https://reviews.llvm.org/D50198
llvm-svn: 338769
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py index 07ceb3f5f6b..db1d31da61c 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py @@ -8,6 +8,7 @@ from __future__ import print_function import os import time import lldb +from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * import lldbsuite.test.lldbutil as lldbutil @@ -25,6 +26,9 @@ class ThreadExitTestCase(TestBase): self.break_3 = line_number('main.cpp', '// Set third breakpoint here') self.break_4 = line_number('main.cpp', '// Set fourth breakpoint here') + # The test is actually flakey on Windows, failing every dozen or so runs, but even with the flakey + # decorator it still fails + @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr38373") def test(self): """Test thread exit handling.""" self.build(dictionary=self.getBuildFlags()) |