Skip to content

Commit

Permalink
[lldb/Test] s/skipIfDarwinEmbedded/skipIfRemote/ in VSCode tests.
Browse files Browse the repository at this point in the history
As pointed out on lldb-commits this skipIfRemote is the better fit for
the decorator.
  • Loading branch information
JDevlieghere committed Feb 20, 2020
1 parent 1e99fc9 commit 14fb317
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py
Expand Up @@ -46,7 +46,7 @@ def set_and_hit_breakpoint(self, continueToExit=True):

@skipIfWindows
@skipIfNetBSD # Hangs on NetBSD as well
@skipIfDarwinEmbedded
@skipIfRemote
def test_by_pid(self):
'''
Tests attaching to a process by process ID.
Expand All @@ -62,7 +62,7 @@ def test_by_pid(self):

@skipIfWindows
@skipIfNetBSD # Hangs on NetBSD as well
@skipIfDarwinEmbedded
@skipIfRemote
def test_by_name(self):
'''
Tests attaching to a process by process name.
Expand Down
Expand Up @@ -17,7 +17,7 @@ class TestVSCode_setBreakpoints(lldbvscode_testcase.VSCodeTestCaseBase):
mydir = TestBase.compute_mydir(__file__)

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_set_and_clear(self):
'''Tests setting and clearing source file and line breakpoints.
This packet is a bit tricky on the debug adaptor side since there
Expand Down Expand Up @@ -149,7 +149,7 @@ def test_set_and_clear(self):
"expect breakpoint still verified")

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_functionality(self):
'''Tests hitting breakpoints and the functionality of a single
breakpoint, like 'conditions' and 'hitCondition' settings.'''
Expand Down
Expand Up @@ -18,7 +18,7 @@ class TestVSCode_setExceptionBreakpoints(

@skipIfWindows
@expectedFailureNetBSD
@skipIfDarwinEmbedded
@skipIfRemote
def test_functionality(self):
'''Tests setting and clearing exception breakpoints.
This packet is a bit tricky on the debug adaptor side since there
Expand Down
Expand Up @@ -17,7 +17,7 @@ class TestVSCode_setFunctionBreakpoints(
mydir = TestBase.compute_mydir(__file__)

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_set_and_clear(self):
'''Tests setting and clearing function breakpoints.
This packet is a bit tricky on the debug adaptor side since there
Expand Down Expand Up @@ -108,7 +108,7 @@ def test_set_and_clear(self):
"expect %u source breakpoints" % (len(functions)))

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_functionality(self):
'''Tests hitting breakpoints and the functionality of a single
breakpoint, like 'conditions' and 'hitCondition' settings.'''
Expand Down
24 changes: 12 additions & 12 deletions lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
Expand Up @@ -18,7 +18,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):

@skipIfWindows
@skipIfDarwin # Flaky
@skipIfDarwinEmbedded
@skipIfRemote
def test_default(self):
'''
Tests the default launch of a simple program. No arguments,
Expand All @@ -36,7 +36,7 @@ def test_default(self):
"make sure program path is in first argument")

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_stopOnEntry(self):
'''
Tests the default launch of a simple program that stops at the
Expand All @@ -56,7 +56,7 @@ def test_stopOnEntry(self):
'verify stop isn\'t "main" breakpoint')

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_cwd(self):
'''
Tests the default launch of a simple program with a current working
Expand Down Expand Up @@ -84,7 +84,7 @@ def test_cwd(self):
self.assertTrue(found, "verified program working directory")

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_debuggerRoot(self):
'''
Tests the "debuggerRoot" will change the working directory of
Expand Down Expand Up @@ -113,7 +113,7 @@ def test_debuggerRoot(self):
self.continue_to_exit()

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_sourcePath(self):
'''
Tests the "sourcePath" will set the target.source-map.
Expand All @@ -139,7 +139,7 @@ def test_sourcePath(self):
self.continue_to_exit()

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_disableSTDIO(self):
'''
Tests the default launch of a simple program with STDIO disabled.
Expand All @@ -156,7 +156,7 @@ def test_disableSTDIO(self):
@skipIfWindows
@skipIfLinux # shell argument expansion doesn't seem to work on Linux
@expectedFailureNetBSD
@skipIfDarwinEmbedded
@skipIfRemote
def test_shellExpandArguments_enabled(self):
'''
Tests the default launch of a simple program with shell expansion
Expand All @@ -180,7 +180,7 @@ def test_shellExpandArguments_enabled(self):
glob, program))

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_shellExpandArguments_disabled(self):
'''
Tests the default launch of a simple program with shell expansion
Expand All @@ -206,7 +206,7 @@ def test_shellExpandArguments_disabled(self):
glob, glob))

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_args(self):
'''
Tests launch of a simple program with arguments
Expand All @@ -232,7 +232,7 @@ def test_args(self):
'arg[%i] "%s" not in "%s"' % (i+1, quoted_arg, lines[i]))

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_environment(self):
'''
Tests launch of a simple program with environment variables
Expand Down Expand Up @@ -265,7 +265,7 @@ def test_environment(self):
var, lines))

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_commands(self):
'''
Tests the "initCommands", "preRunCommands", "stopCommands" and
Expand Down Expand Up @@ -332,7 +332,7 @@ def test_commands(self):
self.verify_commands('exitCommands', output, exitCommands)

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_extra_launch_commands(self):
'''
Tests the "luanchCommands" with extra launching settings
Expand Down
Expand Up @@ -52,7 +52,7 @@ def verify_stackFrame(self, frame_idx, stackFrame):
expected_line))

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_stackTrace(self):
'''
Tests the 'stackTrace' packet and all its variants.
Expand Down
2 changes: 1 addition & 1 deletion lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py
Expand Up @@ -16,7 +16,7 @@ class TestVSCode_step(lldbvscode_testcase.VSCodeTestCaseBase):
mydir = TestBase.compute_mydir(__file__)

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_step(self):
'''
Tests the stepping in/out/over in threads.
Expand Down
Expand Up @@ -74,7 +74,7 @@ def verify_variables(self, verify_dict, variables, varref_dict=None):
self.verify_values(verify_dict[name], variable, varref_dict)

@skipIfWindows
@skipIfDarwinEmbedded
@skipIfRemote
def test_scopes_variables_setVariable_evaluate(self):
'''
Tests the "scopes", "variables", "setVariable", and "evaluate"
Expand Down

0 comments on commit 14fb317

Please sign in to comment.