[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
This commit is contained in:
Stella Stamenova 2018-08-24 21:42:53 +00:00
parent bcf726a32d
commit 04acc99db8
3 changed files with 17 additions and 0 deletions

View File

@ -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):
'''

View File

@ -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):
'''

View File

@ -1,5 +1,7 @@
LEVEL = ../../../make
ENABLE_THREADS := YES
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules