[Lldb-commits] [PATCH] D111659: [lldb] Skip several lldb tests that are flaky on Windows
Stella Stamenova via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 13 09:46:59 PDT 2021
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG58917054c298: [lldb] Skip several lldb tests that are flaky on Windows (authored by stella.stamenova).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111659/new/
https://reviews.llvm.org/D111659
Files:
lldb/test/API/commands/process/attach/TestProcessAttach.py
lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py
lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py
Index: lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py
===================================================================
--- lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py
+++ lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py
@@ -13,6 +13,7 @@
mydir = TestBase.compute_mydir(__file__)
+ @skipIfWindows # This test is flaky on Windows
def test_attach_with_vAttachWait(self):
exe = '%s_%d' % (self.testMethodName, os.getpid())
Index: lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py
===================================================================
--- lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py
+++ lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py
@@ -13,6 +13,7 @@
mydir = TestBase.compute_mydir(__file__)
+ @skipIfWindows # This test is flaky on Windows
def test_launch_before_attach_with_vAttachOrWait(self):
exe = '%s_%d' % (self.testMethodName, os.getpid())
self.build(dictionary={'EXE': exe})
@@ -57,6 +58,7 @@
reported_pid = int(pid_text, base=16)
self.assertEqual(reported_pid, inferior.pid)
+ @skipIfWindows # This test is flaky on Windows
def test_launch_after_attach_with_vAttachOrWait(self):
exe = '%s_%d' % (self.testMethodName, os.getpid())
self.build(dictionary={'EXE': exe})
Index: lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
===================================================================
--- lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
+++ lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
@@ -16,6 +16,7 @@
NO_DEBUG_INFO_TESTCASE = True
@skipIfRemote
+ @skipIfWindows # This test is flaky on Windows
def test_target_auto_install_main_executable(self):
if lldbgdbserverutils.get_lldb_server_exe() is None:
self.skipTest("lldb-server not found")
Index: lldb/test/API/commands/process/attach/TestProcessAttach.py
===================================================================
--- lldb/test/API/commands/process/attach/TestProcessAttach.py
+++ lldb/test/API/commands/process/attach/TestProcessAttach.py
@@ -101,6 +101,7 @@
process = target.GetProcess()
self.assertTrue(process, PROCESS_IS_VALID)
+ @skipIfWindows # This test is flaky on Windows
@expectedFailureNetBSD
def test_attach_to_process_by_id_correct_executable_offset(self):
"""
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111659.379440.patch
Type: text/x-patch
Size: 2568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211013/b5a06587/attachment-0001.bin>
More information about the lldb-commits
mailing list