summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
diff options
context:
space:
mode:
authorAaron Smith <aaron.smith@microsoft.com>2019-08-14 00:14:15 +0000
committerAaron Smith <aaron.smith@microsoft.com>2019-08-14 00:14:15 +0000
commit2a39024ac822fb8e5fb4c1ad3b61697bced919e8 (patch)
tree21fb62494f0a25b6dfa6bd3b3893d51a3e010d1c /lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
parent2a312fc9899ba66c519401b9c98b0880e405c855 (diff)
downloadbcm5719-llvm-2a39024ac822fb8e5fb4c1ad3b61697bced919e8.tar.gz
bcm5719-llvm-2a39024ac822fb8e5fb4c1ad3b61697bced919e8.zip
Update Python tests for lldb-server on Windows
Summary: Thanks to Hui Huang and reviewers for all the help with this patch! Reviewers: labath, jfb, clayborg Reviewed By: labath Subscribers: Hui, clayborg, dexonsmith, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D61687 llvm-svn: 368776
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
index 2bf0952e902..ed60244e88f 100644
--- a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
+++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
@@ -205,6 +205,11 @@ class TestGdbRemoteThreadsInStopReply(
self.set_inferior_startup_launch()
self.stop_reply_reports_multiple_threads(5)
+ # In current implementation of llgs on Windows, as a response to '\x03' packet, the debugger
+ # of the native process will trigger a call to DebugBreakProcess that will create a new thread
+ # to handle the exception debug event. So one more stop thread will be notified to the
+ # delegate, e.g. llgs. So tests below to assert the stop threads number will all fail.
+ @expectedFailureAll(oslist=["windows"])
@llgs_test
def test_stop_reply_reports_multiple_threads_llgs(self):
self.init_llgs_test()
@@ -226,6 +231,7 @@ class TestGdbRemoteThreadsInStopReply(
self.set_inferior_startup_launch()
self.no_QListThreadsInStopReply_supplies_no_threads(5)
+ @expectedFailureAll(oslist=["windows"])
@llgs_test
def test_no_QListThreadsInStopReply_supplies_no_threads_llgs(self):
self.init_llgs_test()
@@ -263,6 +269,7 @@ class TestGdbRemoteThreadsInStopReply(
self.set_inferior_startup_launch()
self.stop_reply_reports_correct_threads(5)
+ @expectedFailureAll(oslist=["windows"])
@llgs_test
def test_stop_reply_reports_correct_threads_llgs(self):
self.init_llgs_test()
@@ -287,6 +294,7 @@ class TestGdbRemoteThreadsInStopReply(
self.assertTrue(int(stop_reply_pcs[thread_id], 16)
== int(threads_info_pcs[thread_id], 16))
+ @expectedFailureAll(oslist=["windows"])
@llgs_test
def test_stop_reply_contains_thread_pcs_llgs(self):
self.init_llgs_test()
OpenPOWER on IntegriCloud