Author: Jonas Devlieghere Date: 2020-02-19T17:34:01-08:00 New Revision: 6990eaf1fe00e9736fbfbcae160e18c5edbcd1d4
URL: https://github.com/llvm/llvm-project/commit/6990eaf1fe00e9736fbfbcae160e18c5edbcd1d4 DIFF: https://github.com/llvm/llvm-project/commit/6990eaf1fe00e9736fbfbcae160e18c5edbcd1d4.diff LOG: [lldb/Test] Skip VSCode test on embedded Darwin These tests are not configured to run on the device. Added: Modified: lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py Removed: ################################################################################ diff --git a/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py b/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py index 58b95ed5dd66..c2fc20a326ee 100644 --- a/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py +++ b/lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py @@ -46,6 +46,7 @@ def set_and_hit_breakpoint(self, continueToExit=True): @skipIfWindows @skipIfNetBSD # Hangs on NetBSD as well + @skipIfDarwinEmbedded def test_by_pid(self): ''' Tests attaching to a process by process ID. @@ -61,6 +62,7 @@ def test_by_pid(self): @skipIfWindows @skipIfNetBSD # Hangs on NetBSD as well + @skipIfDarwinEmbedded def test_by_name(self): ''' Tests attaching to a process by process name. diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py index c3e2697d194a..ad345a904971 100644 --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py @@ -17,6 +17,7 @@ class TestVSCode_setBreakpoints(lldbvscode_testcase.VSCodeTestCaseBase): mydir = TestBase.compute_mydir(__file__) @skipIfWindows + @skipIfDarwinEmbedded 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 @@ -148,6 +149,7 @@ def test_set_and_clear(self): "expect breakpoint still verified") @skipIfWindows + @skipIfDarwinEmbedded def test_functionality(self): '''Tests hitting breakpoints and the functionality of a single breakpoint, like 'conditions' and 'hitCondition' settings.''' diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py index d20a3434188e..bc3295565be6 100644 --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py @@ -18,6 +18,7 @@ class TestVSCode_setExceptionBreakpoints( @skipIfWindows @expectedFailureNetBSD + @skipIfDarwinEmbedded def test_functionality(self): '''Tests setting and clearing exception breakpoints. This packet is a bit tricky on the debug adaptor side since there diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py index 2734c37a928e..84abe923e3a7 100644 --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py @@ -17,6 +17,7 @@ class TestVSCode_setFunctionBreakpoints( mydir = TestBase.compute_mydir(__file__) @skipIfWindows + @skipIfDarwinEmbedded 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 @@ -107,6 +108,7 @@ def test_set_and_clear(self): "expect %u source breakpoints" % (len(functions))) @skipIfWindows + @skipIfDarwinEmbedded def test_functionality(self): '''Tests hitting breakpoints and the functionality of a single breakpoint, like 'conditions' and 'hitCondition' settings.''' diff --git a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py index f9aa1bdf8a0e..f56283aaed18 100644 --- a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py +++ b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py @@ -18,6 +18,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): @skipIfWindows @skipIfDarwin # Flaky + @skipIfDarwinEmbedded def test_default(self): ''' Tests the default launch of a simple program. No arguments, @@ -35,6 +36,7 @@ def test_default(self): "make sure program path is in first argument") @skipIfWindows + @skipIfDarwinEmbedded def test_stopOnEntry(self): ''' Tests the default launch of a simple program that stops at the @@ -54,6 +56,7 @@ def test_stopOnEntry(self): 'verify stop isn\'t "main" breakpoint') @skipIfWindows + @skipIfDarwinEmbedded def test_cwd(self): ''' Tests the default launch of a simple program with a current working @@ -81,6 +84,7 @@ def test_cwd(self): self.assertTrue(found, "verified program working directory") @skipIfWindows + @skipIfDarwinEmbedded def test_debuggerRoot(self): ''' Tests the "debuggerRoot" will change the working directory of @@ -109,6 +113,7 @@ def test_debuggerRoot(self): self.continue_to_exit() @skipIfWindows + @skipIfDarwinEmbedded def test_sourcePath(self): ''' Tests the "sourcePath" will set the target.source-map. @@ -134,6 +139,7 @@ def test_sourcePath(self): self.continue_to_exit() @skipIfWindows + @skipIfDarwinEmbedded def test_disableSTDIO(self): ''' Tests the default launch of a simple program with STDIO disabled. @@ -150,6 +156,7 @@ def test_disableSTDIO(self): @skipIfWindows @skipIfLinux # shell argument expansion doesn't seem to work on Linux @expectedFailureNetBSD + @skipIfDarwinEmbedded def test_shellExpandArguments_enabled(self): ''' Tests the default launch of a simple program with shell expansion @@ -173,6 +180,7 @@ def test_shellExpandArguments_enabled(self): glob, program)) @skipIfWindows + @skipIfDarwinEmbedded def test_shellExpandArguments_disabled(self): ''' Tests the default launch of a simple program with shell expansion @@ -198,6 +206,7 @@ def test_shellExpandArguments_disabled(self): glob, glob)) @skipIfWindows + @skipIfDarwinEmbedded def test_args(self): ''' Tests launch of a simple program with arguments @@ -223,6 +232,7 @@ def test_args(self): 'arg[%i] "%s" not in "%s"' % (i+1, quoted_arg, lines[i])) @skipIfWindows + @skipIfDarwinEmbedded def test_environment(self): ''' Tests launch of a simple program with environment variables @@ -255,6 +265,7 @@ def test_environment(self): var, lines)) @skipIfWindows + @skipIfDarwinEmbedded def test_commands(self): ''' Tests the "initCommands", "preRunCommands", "stopCommands" and @@ -321,6 +332,7 @@ def test_commands(self): self.verify_commands('exitCommands', output, exitCommands) @skipIfWindows + @skipIfDarwinEmbedded def test_extra_launch_commands(self): ''' Tests the "luanchCommands" with extra launching settings diff --git a/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py b/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py index eb3e7493ff97..62d50635c791 100644 --- a/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py +++ b/lldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py @@ -52,6 +52,7 @@ def verify_stackFrame(self, frame_idx, stackFrame): expected_line)) @skipIfWindows + @skipIfDarwinEmbedded def test_stackTrace(self): ''' Tests the 'stackTrace' packet and all its variants. diff --git a/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py b/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py index 2431464f8c8e..0ef5ef7da5b3 100644 --- a/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py +++ b/lldb/test/API/tools/lldb-vscode/step/TestVSCode_step.py @@ -16,6 +16,7 @@ class TestVSCode_step(lldbvscode_testcase.VSCodeTestCaseBase): mydir = TestBase.compute_mydir(__file__) @skipIfWindows + @skipIfDarwinEmbedded def test_step(self): ''' Tests the stepping in/out/over in threads. diff --git a/lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py b/lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py index 55c4fd000b2f..b5cf253648ff 100644 --- a/lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py +++ b/lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py @@ -74,6 +74,7 @@ def verify_variables(self, verify_dict, variables, varref_dict=None): self.verify_values(verify_dict[name], variable, varref_dict) @skipIfWindows + @skipIfDarwinEmbedded def test_scopes_variables_setVariable_evaluate(self): ''' Tests the "scopes", "variables", "setVariable", and "evaluate" _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits