[Lldb-commits] [lldb] b1bb1d4 - [lldb] Skip tests for target var without a proc on both arm64 & arm64e

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 25 20:45:43 PDT 2021


Author: Jonas Devlieghere
Date: 2021-10-25T20:45:38-07:00
New Revision: b1bb1d4c46889c4cae2b6586b50c3397584fa064

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

LOG: [lldb] Skip tests for target var without a proc on both arm64 & arm64e

LLDB needs to be taught about chained fixups.

<rdar://problem/37773624>

Added: 
    

Modified: 
    lldb/test/API/commands/target/basic/TestTargetCommand.py
    lldb/test/API/lang/c/global_variables/TestGlobalVariables.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/target/basic/TestTargetCommand.py b/lldb/test/API/commands/target/basic/TestTargetCommand.py
index 8a57b05ebb316..30cb9d7d6c84f 100644
--- a/lldb/test/API/commands/target/basic/TestTargetCommand.py
+++ b/lldb/test/API/commands/target/basic/TestTargetCommand.py
@@ -44,8 +44,7 @@ def test_target_command(self):
         self.buildAll()
         self.do_target_command()
 
-    @expectedFailureAll(archs=['arm64e']) # <rdar://problem/37773624>
-    @expectedFailureDarwin(archs=["arm64"]) # <rdar://problem/37773624>
+    @expectedFailureDarwin(archs=["arm64", "arm64e"]) # <rdar://problem/37773624>
     def test_target_variable_command(self):
         """Test 'target variable' command before and after starting the inferior."""
         d = {'C_SOURCES': 'globals.c', 'EXE': self.getBuildArtifact('globals')}
@@ -54,8 +53,7 @@ def test_target_variable_command(self):
 
         self.do_target_variable_command('globals')
 
-    @expectedFailureAll(archs=['arm64e']) # <rdar://problem/37773624>
-    @expectedFailureDarwin(archs=["arm64"]) # <rdar://problem/37773624>
+    @expectedFailureDarwin(archs=["arm64", "arm64e"]) # <rdar://problem/37773624>
     def test_target_variable_command_no_fail(self):
         """Test 'target variable' command before and after starting the inferior."""
         d = {'C_SOURCES': 'globals.c', 'EXE': self.getBuildArtifact('globals')}

diff  --git a/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py b/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py
index 8e0591a9602d7..9338c104b7f24 100644
--- a/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py
+++ b/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py
@@ -21,7 +21,7 @@ def setUp(self):
         self.shlib_names = ["a"]
 
     @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24764")
-    @expectedFailureAll(archs=["arm64e"]) # <rdar://problem/37773624>
+    @expectedFailureDarwin(archs=["arm64", "arm64e"]) # <rdar://problem/37773624>
     def test_without_process(self):
         """Test that static initialized variables can be inspected without
         process."""


        


More information about the lldb-commits mailing list