diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-11-11 15:58:27 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-11-11 15:59:54 -0800 |
commit | 0b8dfb5762fdc350c5071c9eeffd4f7e4d495e98 (patch) | |
tree | 116222c9260b5c24d83ffa11d075c91ce39ab7d0 /lldb/packages/Python/lldbsuite/test | |
parent | 9e5116f756f05b68e8394e392027dca7bc574559 (diff) | |
download | bcm5719-llvm-0b8dfb5762fdc350c5071c9eeffd4f7e4d495e98.tar.gz bcm5719-llvm-0b8dfb5762fdc350c5071c9eeffd4f7e4d495e98.zip |
[lldb] Re-enable VSCode tests
The VSCode tests were all disabled on macOS because the implementation
had some issues that resulted in flakiness on Darwin. It seems most of
these issues have been addressed. I've re-enabled all the tests that
consistently passed locally.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
8 files changed, 3 insertions, 24 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 2cac88fa0d4..7c219b95b59 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 @@ -46,7 +46,6 @@ 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 @skipIfNetBSD # Hangs on NetBSD as well @no_debug_info_test def test_by_pid(self): @@ -63,7 +62,6 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase): self.set_and_hit_breakpoint(continueToExit=True) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @skipIfNetBSD # Hangs on NetBSD as well @no_debug_info_test def test_by_name(self): @@ -99,7 +97,7 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase): self.set_and_hit_breakpoint(continueToExit=True) @skipUnlessDarwin - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots + @skipIfDarwin @skipIfNetBSD # Hangs on NetBSD as well @no_debug_info_test def test_by_name_waitFor(self): @@ -117,7 +115,7 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase): self.set_and_hit_breakpoint(continueToExit=True) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots + @skipIfDarwin @skipIfNetBSD # Hangs on NetBSD as well @no_debug_info_test def test_commands(self): diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py index c674a7f5f99..a4a5a31b707 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py @@ -18,7 +18,6 @@ class TestVSCode_setBreakpoints(lldbvscode_testcase.VSCodeTestCaseBase): mydir = TestBase.compute_mydir(__file__) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_set_and_clear(self): '''Tests setting and clearing source file and line breakpoints. @@ -151,7 +150,6 @@ class TestVSCode_setBreakpoints(lldbvscode_testcase.VSCodeTestCaseBase): "expect breakpoint still verified") @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_functionality(self): '''Tests hitting breakpoints and the functionality of a single diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py index a9338b1809b..c70875306e7 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py @@ -18,7 +18,6 @@ class TestVSCode_setExceptionBreakpoints( mydir = TestBase.compute_mydir(__file__) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @expectedFailureNetBSD @no_debug_info_test def test_functionality(self): diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py index c6e98b1fd62..7b535173b08 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py @@ -18,7 +18,6 @@ class TestVSCode_setFunctionBreakpoints( mydir = TestBase.compute_mydir(__file__) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_set_and_clear(self): '''Tests setting and clearing function breakpoints. @@ -110,7 +109,6 @@ class TestVSCode_setFunctionBreakpoints( "expect %u source breakpoints" % (len(functions))) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_functionality(self): '''Tests hitting breakpoints and the functionality of a single 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 dc7635289ed..9c75b7e324a 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 @@ -18,7 +18,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): mydir = TestBase.compute_mydir(__file__) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots + @skipIfDarwin # Flaky @no_debug_info_test def test_default(self): ''' @@ -37,7 +37,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): "make sure program path is in first argument") @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_stopOnEntry(self): ''' @@ -58,7 +57,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): 'verify stop isn\'t "main" breakpoint') @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_cwd(self): ''' @@ -87,7 +85,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): self.assertTrue(found, "verified program working directory") @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_debuggerRoot(self): ''' @@ -117,7 +114,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): self.continue_to_exit() @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_sourcePath(self): ''' @@ -144,7 +140,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): self.continue_to_exit() @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_disableSTDIO(self): ''' @@ -160,7 +155,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): "expect no program output") @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @skipIfLinux # shell argument expansion doesn't seem to work on Linux @expectedFailureNetBSD @no_debug_info_test @@ -187,7 +181,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): glob, program)) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_shellExpandArguments_disabled(self): ''' @@ -214,7 +207,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): glob, glob)) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_args(self): ''' @@ -241,7 +233,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): 'arg[%i] "%s" not in "%s"' % (i+1, quoted_arg, lines[i])) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_environment(self): ''' @@ -275,7 +266,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): var, lines)) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_commands(self): ''' @@ -343,7 +333,6 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): self.verify_commands('exitCommands', output, exitCommands) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_extra_launch_commands(self): ''' diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py index 4bb061881c4..4aca14fc827 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py @@ -53,7 +53,6 @@ class TestVSCode_stackTrace(lldbvscode_testcase.VSCodeTestCaseBase): expected_line)) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_stackTrace(self): ''' diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/TestVSCode_step.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/TestVSCode_step.py index a5e7914ddce..88412509746 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/TestVSCode_step.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/TestVSCode_step.py @@ -17,7 +17,6 @@ class TestVSCode_step(lldbvscode_testcase.VSCodeTestCaseBase): mydir = TestBase.compute_mydir(__file__) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_step(self): ''' diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/TestVSCode_variables.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/TestVSCode_variables.py index dd699f01058..6d29e742564 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/TestVSCode_variables.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/TestVSCode_variables.py @@ -74,7 +74,6 @@ class TestVSCode_variables(lldbvscode_testcase.VSCodeTestCaseBase): self.verify_values(verify_dict[name], variable, varref_dict) @skipIfWindows - @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @no_debug_info_test def test_scopes_variables_setVariable_evaluate(self): ''' |