Skip to content

Commit 0b8dfb5

Browse files
committed
[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.
1 parent 9e5116f commit 0b8dfb5

File tree

8 files changed

+3
-24
lines changed

8 files changed

+3
-24
lines changed

lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def set_and_hit_breakpoint(self, continueToExit=True):
4646

4747

4848
@skipIfWindows
49-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
5049
@skipIfNetBSD # Hangs on NetBSD as well
5150
@no_debug_info_test
5251
def test_by_pid(self):
@@ -63,7 +62,6 @@ def test_by_pid(self):
6362
self.set_and_hit_breakpoint(continueToExit=True)
6463

6564
@skipIfWindows
66-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
6765
@skipIfNetBSD # Hangs on NetBSD as well
6866
@no_debug_info_test
6967
def test_by_name(self):
@@ -99,7 +97,7 @@ def cleanup():
9997
self.set_and_hit_breakpoint(continueToExit=True)
10098

10199
@skipUnlessDarwin
102-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
100+
@skipIfDarwin
103101
@skipIfNetBSD # Hangs on NetBSD as well
104102
@no_debug_info_test
105103
def test_by_name_waitFor(self):
@@ -117,7 +115,7 @@ def test_by_name_waitFor(self):
117115
self.set_and_hit_breakpoint(continueToExit=True)
118116

119117
@skipIfWindows
120-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
118+
@skipIfDarwin
121119
@skipIfNetBSD # Hangs on NetBSD as well
122120
@no_debug_info_test
123121
def test_commands(self):

lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class TestVSCode_setBreakpoints(lldbvscode_testcase.VSCodeTestCaseBase):
1818
mydir = TestBase.compute_mydir(__file__)
1919

2020
@skipIfWindows
21-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
2221
@no_debug_info_test
2322
def test_set_and_clear(self):
2423
'''Tests setting and clearing source file and line breakpoints.
@@ -151,7 +150,6 @@ def test_set_and_clear(self):
151150
"expect breakpoint still verified")
152151

153152
@skipIfWindows
154-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
155153
@no_debug_info_test
156154
def test_functionality(self):
157155
'''Tests hitting breakpoints and the functionality of a single

lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class TestVSCode_setExceptionBreakpoints(
1818
mydir = TestBase.compute_mydir(__file__)
1919

2020
@skipIfWindows
21-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
2221
@expectedFailureNetBSD
2322
@no_debug_info_test
2423
def test_functionality(self):

lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class TestVSCode_setFunctionBreakpoints(
1818
mydir = TestBase.compute_mydir(__file__)
1919

2020
@skipIfWindows
21-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
2221
@no_debug_info_test
2322
def test_set_and_clear(self):
2423
'''Tests setting and clearing function breakpoints.
@@ -110,7 +109,6 @@ def test_set_and_clear(self):
110109
"expect %u source breakpoints" % (len(functions)))
111110

112111
@skipIfWindows
113-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
114112
@no_debug_info_test
115113
def test_functionality(self):
116114
'''Tests hitting breakpoints and the functionality of a single

lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
1818
mydir = TestBase.compute_mydir(__file__)
1919

2020
@skipIfWindows
21-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
21+
@skipIfDarwin # Flaky
2222
@no_debug_info_test
2323
def test_default(self):
2424
'''
@@ -37,7 +37,6 @@ def test_default(self):
3737
"make sure program path is in first argument")
3838

3939
@skipIfWindows
40-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
4140
@no_debug_info_test
4241
def test_stopOnEntry(self):
4342
'''
@@ -58,7 +57,6 @@ def test_stopOnEntry(self):
5857
'verify stop isn\'t "main" breakpoint')
5958

6059
@skipIfWindows
61-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
6260
@no_debug_info_test
6361
def test_cwd(self):
6462
'''
@@ -87,7 +85,6 @@ def test_cwd(self):
8785
self.assertTrue(found, "verified program working directory")
8886

8987
@skipIfWindows
90-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
9188
@no_debug_info_test
9289
def test_debuggerRoot(self):
9390
'''
@@ -117,7 +114,6 @@ def test_debuggerRoot(self):
117114
self.continue_to_exit()
118115

119116
@skipIfWindows
120-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
121117
@no_debug_info_test
122118
def test_sourcePath(self):
123119
'''
@@ -144,7 +140,6 @@ def test_sourcePath(self):
144140
self.continue_to_exit()
145141

146142
@skipIfWindows
147-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
148143
@no_debug_info_test
149144
def test_disableSTDIO(self):
150145
'''
@@ -160,7 +155,6 @@ def test_disableSTDIO(self):
160155
"expect no program output")
161156

162157
@skipIfWindows
163-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
164158
@skipIfLinux # shell argument expansion doesn't seem to work on Linux
165159
@expectedFailureNetBSD
166160
@no_debug_info_test
@@ -187,7 +181,6 @@ def test_shellExpandArguments_enabled(self):
187181
glob, program))
188182

189183
@skipIfWindows
190-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
191184
@no_debug_info_test
192185
def test_shellExpandArguments_disabled(self):
193186
'''
@@ -214,7 +207,6 @@ def test_shellExpandArguments_disabled(self):
214207
glob, glob))
215208

216209
@skipIfWindows
217-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
218210
@no_debug_info_test
219211
def test_args(self):
220212
'''
@@ -241,7 +233,6 @@ def test_args(self):
241233
'arg[%i] "%s" not in "%s"' % (i+1, quoted_arg, lines[i]))
242234

243235
@skipIfWindows
244-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
245236
@no_debug_info_test
246237
def test_environment(self):
247238
'''
@@ -275,7 +266,6 @@ def test_environment(self):
275266
var, lines))
276267

277268
@skipIfWindows
278-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
279269
@no_debug_info_test
280270
def test_commands(self):
281271
'''
@@ -343,7 +333,6 @@ def test_commands(self):
343333
self.verify_commands('exitCommands', output, exitCommands)
344334

345335
@skipIfWindows
346-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
347336
@no_debug_info_test
348337
def test_extra_launch_commands(self):
349338
'''

lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def verify_stackFrame(self, frame_idx, stackFrame):
5353
expected_line))
5454

5555
@skipIfWindows
56-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
5756
@no_debug_info_test
5857
def test_stackTrace(self):
5958
'''

lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/TestVSCode_step.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class TestVSCode_step(lldbvscode_testcase.VSCodeTestCaseBase):
1717
mydir = TestBase.compute_mydir(__file__)
1818

1919
@skipIfWindows
20-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
2120
@no_debug_info_test
2221
def test_step(self):
2322
'''

lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/TestVSCode_variables.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ def verify_variables(self, verify_dict, variables, varref_dict=None):
7474
self.verify_values(verify_dict[name], variable, varref_dict)
7575

7676
@skipIfWindows
77-
@skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots
7877
@no_debug_info_test
7978
def test_scopes_variables_setVariable_evaluate(self):
8079
'''

0 commit comments

Comments
 (0)