[TestReturnValue] Skip based on architecutre, not platform.
authorDavide Italiano <ditaliano@apple.com>
Tue, 30 Jun 2020 19:47:56 +0000 (12:47 -0700)
committerDavide Italiano <ditaliano@apple.com>
Tue, 30 Jun 2020 19:48:23 +0000 (12:48 -0700)
lldb/packages/Python/lldbsuite/test/decorators.py
lldb/test/API/functionalities/return-value/TestReturnValue.py

index 0ef2f93..ec08418 100644 (file)
@@ -411,14 +411,15 @@ def expectedFailureOS(
         debug_info=debug_info)
 
 
-def expectedFailureDarwin(bugnumber=None, compilers=None, debug_info=None):
+def expectedFailureDarwin(bugnumber=None, compilers=None, debug_info=None, archs=None):
     # For legacy reasons, we support both "darwin" and "macosx" as OS X
     # triples.
     return expectedFailureOS(
         lldbplatform.darwin_all,
         bugnumber,
         compilers,
-        debug_info=debug_info)
+        debug_info=debug_info,
+        archs=archs)
 
 
 def expectedFailureAndroid(bugnumber=None, api_levels=None, archs=None):
index 24aa504..08293ca 100644 (file)
@@ -165,7 +165,7 @@ class ReturnValueTestCase(TestBase):
         archs=["i386"])
     @expectedFailureAll(compiler=["gcc"], archs=["x86_64", "i386"])
     @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
-    @skipIfDarwinEmbedded # <rdar://problem/33976032> ABIMacOSX_arm64 doesn't get structs this big correctly
+    @expectedFailureDarwin(archs=["arm64"]) # <rdar://problem/33976032> ABIMacOSX_arm64 doesn't get structs this big correctly
     def test_vector_values(self):
         self.build()
         exe = self.getBuildArtifact("a.out")