aboutsummaryrefslogtreecommitdiff
path: root/test/tools/lldb-mi/stack/TestMiStack.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-08-13 20:50:17 +0000
committerZachary Turner <zturner@google.com>2015-08-13 20:50:17 +0000
commit3ff994034ca14166f4607c955206dc26634687ee (patch)
treeaca5b190962c95b4d43da6b7e073b41f78d494c7 /test/tools/lldb-mi/stack/TestMiStack.py
parentae36dcf53afb0954130c1038fbd12d6404c8fffe (diff)
downloadlldb-3ff994034ca14166f4607c955206dc26634687ee.tar.gz
Disable lldb-mi tests on Windows.studio-1.4studio-master-devstudio-1.4-dev
Most were already XFAIL'ed, but the reason for the XFAIL is that we don't have a suitable pexpect implementation on Windows. This isn't going to change unintentionally, so there is no reason to XFAIL them as opposed to just skip them. llvm.org/pr22274 tracks finding a suitable pexpect module for Windows, which should fix many of these issues. llvm.org/pr24452 tracks the larger issue of making the entire lldb-mi test suite work on Windows, of which finding a pexpect module is just one component. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@244951 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools/lldb-mi/stack/TestMiStack.py')
-rw-r--r--test/tools/lldb-mi/stack/TestMiStack.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/tools/lldb-mi/stack/TestMiStack.py b/test/tools/lldb-mi/stack/TestMiStack.py
index acfe14844..5a0f87947 100644
--- a/test/tools/lldb-mi/stack/TestMiStack.py
+++ b/test/tools/lldb-mi/stack/TestMiStack.py
@@ -1,4 +1,4 @@
-"""
+"""
Test lldb-mi -stack-xxx commands.
"""
@@ -11,7 +11,7 @@ class MiStackTestCase(lldbmi_testcase.MiTestCaseBase):
mydir = TestBase.compute_mydir(__file__)
@lldbmi_test
- @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
+ @skipIfWindows #llvm.org/pr24452: Get lldb-mi tests working on Windows
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races
def test_lldbmi_stack_list_arguments(self):
"""Test that 'lldb-mi --interpreter' can shows arguments."""
@@ -73,7 +73,7 @@ class MiStackTestCase(lldbmi_testcase.MiTestCaseBase):
self.expect("\^error,msg=\"Command 'stack-list-arguments'\. Thread frame range invalid\"")
@lldbmi_test
- @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
+ @skipIfWindows #llvm.org/pr24452: Get lldb-mi tests working on Windows
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races
def test_lldbmi_stack_list_locals(self):
"""Test that 'lldb-mi --interpreter' can shows local variables."""
@@ -200,7 +200,7 @@ class MiStackTestCase(lldbmi_testcase.MiTestCaseBase):
self.expect("\^done,locals=\[{name=\"test_str\",type=\"const char \*\",value=\".*?Rakaposhi.*?\"},{name=\"var_e\",type=\"int\",value=\"24\"},{name=\"ptr\",type=\"int \*\",value=\".*?\"}\]")
@lldbmi_test
- @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
+ @skipIfWindows #llvm.org/pr24452: Get lldb-mi tests working on Windows
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races
def test_lldbmi_stack_list_variables(self):
"""Test that 'lldb-mi --interpreter' can shows local variables and arguments."""
@@ -327,7 +327,7 @@ class MiStackTestCase(lldbmi_testcase.MiTestCaseBase):
self.expect("\^done,variables=\[{arg=\"1\",name=\"arg_str\",type=\"const char \*\",value=\".*?String.*?\"},{arg=\"1\",name=\"arg_ptr\",type=\"int \*\",value=\".*?\"},{name=\"test_str\",type=\"const char \*\",value=\".*?Rakaposhi.*?\"},{name=\"var_e\",type=\"int\",value=\"24\"},{name=\"ptr\",type=\"int \*\",value=\".*?\"}\]")
@lldbmi_test
- @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
+ @skipIfWindows #llvm.org/pr24452: Get lldb-mi tests working on Windows
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races
def test_lldbmi_stack_info_depth(self):
"""Test that 'lldb-mi --interpreter' can shows depth of the stack."""
@@ -361,7 +361,7 @@ class MiStackTestCase(lldbmi_testcase.MiTestCaseBase):
#self.expect("\^error")
@lldbmi_test
- @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
+ @skipIfWindows #llvm.org/pr24452: Get lldb-mi tests working on Windows
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races
@skipUnlessDarwin
def test_lldbmi_stack_info_frame(self):
@@ -402,7 +402,7 @@ class MiStackTestCase(lldbmi_testcase.MiTestCaseBase):
#self.expect("\^error")
@lldbmi_test
- @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
+ @skipIfWindows #llvm.org/pr24452: Get lldb-mi tests working on Windows
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races
def test_lldbmi_stack_list_frames(self):
"""Test that 'lldb-mi --interpreter' can lists the frames on the stack."""
@@ -425,7 +425,7 @@ class MiStackTestCase(lldbmi_testcase.MiTestCaseBase):
self.expect("\^done,stack=\[frame=\{level=\"0\",addr=\"0x[0-9a-f]+\",func=\"main\",file=\"main\.cpp\",fullname=\".+?main\.cpp\",line=\"\d+\"\}\]")
@lldbmi_test
- @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
+ @skipIfWindows #llvm.org/pr24452: Get lldb-mi tests working on Windows
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races
def test_lldbmi_stack_select_frame(self):
"""Test that 'lldb-mi --interpreter' can choose current frame."""