[LLDB] Remove decorator from XPASSes AArch64/Windows
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Tue, 7 Jun 2022 15:30:24 +0000 (19:30 +0400)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Tue, 7 Jun 2022 15:30:26 +0000 (19:30 +0400)
This patch remove XFAIL decorator from tests which as passing on AArch64
Windows. This is tested on surface pro x using tot llvm and clang 14.0.3
as compiler with visual studio 2019 x86_arm64 environment.

lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
lldb/test/API/api/multiple-targets/TestMultipleTargets.py
lldb/test/API/commands/expression/char/TestExprsChar.py
lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py
lldb/test/API/functionalities/return-value/TestReturnValue.py
lldb/test/API/lang/cpp/class-template-non-type-parameter-pack/TestClassTemplateNonTypeParameterPack.py
lldb/test/API/lang/cpp/class-template-type-parameter-pack/TestClassTemplateTypeParameterPack.py

index c7aa2ec..1de460a 100644 (file)
@@ -15,7 +15,7 @@ class TestSBCommandReturnObject(TestBase):
 
     @skipIfNoSBHeaders
     @expectedFailureAll(
-        oslist=["windows"],
+        oslist=["windows"], archs=["i[3-6]86", "x86_64"],
         bugnumber="llvm.org/pr43570")
     def test_sb_command_return_object(self):
         env = {self.dylibPath: self.getLLDBLibraryEnvVal()}
index 94b09c7..02b231f 100644 (file)
@@ -20,7 +20,7 @@ class TestMultipleTargets(TestBase):
     @skipIfNoSBHeaders
     @skipIfHostIncompatibleWithRemote
     @expectedFailureAll(
-        oslist=["windows"],
+        oslist=["windows"], archs=["i[3-6]86", "x86_64"],
         bugnumber="llvm.org/pr20282")
     @expectedFlakeyNetBSD
     def test_multiple_targets(self):
index a7f37e8..ab3d4f4 100644 (file)
@@ -20,10 +20,9 @@ class ExprCharTestCase(TestBase):
     def test_default_char(self):
         self.do_test()
 
-    @skipIf(oslist=["linux"], archs=["arm"], bugnumber="llvm.org/pr23069")
+    @skipIf(oslist=["linux"], archs=["aarch64", "arm"], bugnumber="llvm.org/pr23069")
     @expectedFailureAll(
         archs=[
-            "aarch64",
             "powerpc64le",
             "s390x"],
         bugnumber="llvm.org/pr23069")
index f5122b8..69308a5 100644 (file)
@@ -7,7 +7,7 @@ class ExprXValuePrintingTestCase(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
-    @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21765")
+    @expectedFailureAll(oslist=["windows"], archs=["i[3-6]86", "x86_64"], bugnumber="llvm.org/pr21765")
     def test(self):
         """Printing an xvalue should work."""
         self.build()
index 517ed46..9f4745c 100644 (file)
@@ -175,7 +175,7 @@ class ReturnValueTestCase(TestBase):
             "3.6"],
         archs=["i386"])
     @expectedFailureAll(compiler=["gcc"], archs=["x86_64", "i386"])
-    @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
+    @expectedFailureAll(oslist=["windows"], archs=["i[3-6]86", "x86_64"], bugnumber="llvm.org/pr24778")
     def test_vector_values(self):
         self.build()
         exe = self.getBuildArtifact("a.out")
index 3a51e08..469cdfb 100644 (file)
@@ -7,7 +7,7 @@ class TestCaseClassTemplateNonTypeParameterPack(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
-    @expectedFailureAll(oslist=["windows"]) # Fails to read memory from target.
+    @expectedFailureAll(oslist=["windows"], archs=["i[3-6]86", "x86_64"]) # Fails to read memory from target.
     @no_debug_info_test
     def test(self):
         self.build()
index 88beac1..919b322 100644 (file)
@@ -7,7 +7,7 @@ class TestCaseClassTemplateTypeParameterPack(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
-    @expectedFailureAll(oslist=["windows"]) # Fails to read memory from target.
+    @expectedFailureAll(oslist=["windows"], archs=["i[3-6]86", "x86_64"]) # Fails to read memory from target.
     @no_debug_info_test
     def test(self):
         self.build()