[Lldb-commits] [lldb] 065e3c9 - [lldb] Skip more tests that don't make sense to run remotely

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 8 15:02:44 PDT 2022


Author: Jonas Devlieghere
Date: 2022-04-08T15:02:22-07:00
New Revision: 065e3c9a8e55aacf06eb069d8916597ce13b36b5

URL: https://github.com/llvm/llvm-project/commit/065e3c9a8e55aacf06eb069d8916597ce13b36b5
DIFF: https://github.com/llvm/llvm-project/commit/065e3c9a8e55aacf06eb069d8916597ce13b36b5.diff

LOG: [lldb] Skip more tests that don't make sense to run remotely

Skip another batch of tests that don't really make sense to run
remotely.

Added: 
    

Modified: 
    lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py
    lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
    lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py
    lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py
    lldb/test/API/macosx/stack-corefile/TestStackCorefile.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py b/lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py
index 32b78391aa22d..c745cc4ac7e0a 100644
--- a/lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py
+++ b/lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py
@@ -40,20 +40,24 @@ def port_not_available(self):
         return None
 
     @skipUnlessDarwin
+    @skipIfRemote
     def test_stop_default_platform_sync(self):
         self.do_test_stop_at_entry(True, False)
 
     @skipUnlessDarwin
+    @skipIfRemote
     def test_stop_default_platform_async(self):
         self.do_test_stop_at_entry(False, False)
 
     @skipUnlessDarwin
+    @skipIfRemote
     @expectedFailureIfFn(no_debugserver)
     @expectedFailureIfFn(port_not_available)
     def test_stop_remote_platform_sync(self):
         self.do_test_stop_at_entry(True, True)
 
     @skipUnlessDarwin
+    @skipIfRemote
     @expectedFailureIfFn(no_debugserver)
     @expectedFailureIfFn(port_not_available)
     def test_stop_remote_platform_async(self):

diff  --git a/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py b/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
index 9f1c055c7ee96..5556c9a36b696 100644
--- a/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
+++ b/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
@@ -40,6 +40,7 @@ def get_module_with_name(self, target, name):
 
     @skipUnlessDarwin
     @skipIfOutOfTreeDebugserver
+    @skipIfRemote
     def test_launch_scripted_process_stack_frames(self):
         """Test that we can launch an lldb scripted process from the command
         line, check its process ID and read string from memory."""

diff  --git a/lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py b/lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py
index 0468685110be5..33f4839fddc4e 100644
--- a/lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py
+++ b/lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py
@@ -17,6 +17,7 @@ class TestCorefileExceptionReason(TestBase):
     @no_debug_info_test
     @skipUnlessDarwin
     @skipIf(archs=no_match(['arm64','arm64e']))
+    @skipIfRemote
     def test(self):
 
         corefile = self.getBuildArtifact("process.core")

diff  --git a/lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py b/lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py
index 4257aa5ca26a5..1df04988d3a38 100644
--- a/lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py
+++ b/lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py
@@ -19,6 +19,7 @@ class TestSkinnyCorefile(TestBase):
     @skipIfOutOfTreeDebugserver  # newer debugserver required for these qMemoryRegionInfo types
     @skipIf(debug_info=no_match(["dsym"]), bugnumber="This test is looking explicitly for a dSYM")
     @skipUnlessDarwin
+    @skipIfRemote
     def test_lc_note(self):
         self.build()
         self.aout_exe = self.getBuildArtifact("a.out")

diff  --git a/lldb/test/API/macosx/stack-corefile/TestStackCorefile.py b/lldb/test/API/macosx/stack-corefile/TestStackCorefile.py
index b1c0fa98712e3..04a87c3cb9e0b 100644
--- a/lldb/test/API/macosx/stack-corefile/TestStackCorefile.py
+++ b/lldb/test/API/macosx/stack-corefile/TestStackCorefile.py
@@ -16,6 +16,7 @@ class TestStackCorefile(TestBase):
     @skipIfOutOfTreeDebugserver  # newer debugserver required for these qMemoryRegionInfo types
     @no_debug_info_test
     @skipUnlessDarwin
+    @skipIfRemote
     def test(self):
 
         corefile = self.getBuildArtifact("process.core")


        


More information about the lldb-commits mailing list