summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/tools
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2018-08-24 21:42:53 +0000
committerStella Stamenova <stilis@microsoft.com>2018-08-24 21:42:53 +0000
commit04acc99db8fc64a789b01103249fa26ef69de0a4 (patch)
tree11a5acf6828f91dcb62943952e92e4efc0657fad /lldb/packages/Python/lldbsuite/test/tools
parentbcf726a32d1cc341a25d0218359cf21825e12d83 (diff)
downloadbcm5719-llvm-04acc99db8fc64a789b01103249fa26ef69de0a4.tar.gz
bcm5719-llvm-04acc99db8fc64a789b01103249fa26ef69de0a4.zip
[vscode] Skip some of the vscode tests on Linux and fix one
Summary: These are already skipped on Darwin because they cause build bot failures. Both on the build bots as well as in our testing we have seen a number of these tests fail and hang. This change skips the failing/hanging tests on Linux and also fixes one of the test - the test needs the thread library to build. Reviewers: asmith, clayborg, aprantl Subscribers: teemperor, lldb-commits Differential Revision: https://reviews.llvm.org/D51227 llvm-svn: 340658
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/tools')
-rw-r--r--lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py4
-rw-r--r--lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py11
-rw-r--r--lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/Makefile2
3 files changed, 17 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py
index e1e1126581d..67cd05b83c3 100644
--- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py
+++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py
@@ -47,6 +47,7 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_by_pid(self):
'''
@@ -63,6 +64,7 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_by_name(self):
'''
@@ -97,6 +99,7 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase):
@skipUnlessDarwin
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_by_name_waitFor(self):
'''
@@ -114,6 +117,7 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_commands(self):
'''
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
index bc9e4f3a725..064cf9a6783 100644
--- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
+++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
@@ -21,6 +21,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_default(self):
'''
@@ -40,6 +41,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_stopOnEntry(self):
'''
@@ -61,6 +63,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_cwd(self):
'''
@@ -89,6 +92,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_debuggerRoot(self):
'''
@@ -118,6 +122,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_sourcePath(self):
'''
@@ -145,6 +150,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_disableSTDIO(self):
'''
@@ -161,6 +167,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_shellExpandArguments_enabled(self):
'''
@@ -186,6 +193,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_shellExpandArguments_disabled(self):
'''
@@ -213,6 +221,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_args(self):
'''
@@ -240,6 +249,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_environment(self):
'''
@@ -274,6 +284,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
+ @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin
@no_debug_info_test
def test_commands(self):
'''
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/Makefile
index 314f1cb2f07..f24bb9f4d26 100644
--- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/Makefile
@@ -1,5 +1,7 @@
LEVEL = ../../../make
+ENABLE_THREADS := YES
+
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
OpenPOWER on IntegriCloud