[Lldb-commits] [lldb] 7daa9a9 - [LLDB] Remove decorator from XPASSes AArch64/Windows

Muhammad Omair Javaid via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 7 08:40:20 PDT 2022


Author: Muhammad Omair Javaid
Date: 2022-06-07T19:30:26+04:00
New Revision: 7daa9a9b40a22c8ebac529f2fe7772191f2cea5a

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

LOG: [LLDB] Remove decorator from XPASSes AArch64/Windows

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.

Added: 
    

Modified: 
    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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py b/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
index c7aa2eced83d9..1de460a5ac43a 100644
--- a/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
+++ b/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
@@ -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()}

diff  --git a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py
index 94b09c71ce2f1..02b231f219914 100644
--- a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py
+++ b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py
@@ -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):

diff  --git a/lldb/test/API/commands/expression/char/TestExprsChar.py b/lldb/test/API/commands/expression/char/TestExprsChar.py
index a7f37e868b4dd..ab3d4f40265ff 100644
--- a/lldb/test/API/commands/expression/char/TestExprsChar.py
+++ b/lldb/test/API/commands/expression/char/TestExprsChar.py
@@ -20,10 +20,9 @@ def do_test(self, dictionary=None):
     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")

diff  --git a/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py b/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py
index f5122b84839a9..69308a58d3f55 100644
--- a/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py
+++ b/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py
@@ -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()

diff  --git a/lldb/test/API/functionalities/return-value/TestReturnValue.py b/lldb/test/API/functionalities/return-value/TestReturnValue.py
index 517ed46a4fe9f..9f4745cb79018 100644
--- a/lldb/test/API/functionalities/return-value/TestReturnValue.py
+++ b/lldb/test/API/functionalities/return-value/TestReturnValue.py
@@ -175,7 +175,7 @@ def test_with_python(self):
             "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")

diff  --git a/lldb/test/API/lang/cpp/class-template-non-type-parameter-pack/TestClassTemplateNonTypeParameterPack.py b/lldb/test/API/lang/cpp/class-template-non-type-parameter-pack/TestClassTemplateNonTypeParameterPack.py
index 3a51e08d75e08..469cdfbdc84a6 100644
--- a/lldb/test/API/lang/cpp/class-template-non-type-parameter-pack/TestClassTemplateNonTypeParameterPack.py
+++ b/lldb/test/API/lang/cpp/class-template-non-type-parameter-pack/TestClassTemplateNonTypeParameterPack.py
@@ -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()

diff  --git a/lldb/test/API/lang/cpp/class-template-type-parameter-pack/TestClassTemplateTypeParameterPack.py b/lldb/test/API/lang/cpp/class-template-type-parameter-pack/TestClassTemplateTypeParameterPack.py
index 88beac18e891a..919b322f5148d 100644
--- a/lldb/test/API/lang/cpp/class-template-type-parameter-pack/TestClassTemplateTypeParameterPack.py
+++ b/lldb/test/API/lang/cpp/class-template-type-parameter-pack/TestClassTemplateTypeParameterPack.py
@@ -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()


        


More information about the lldb-commits mailing list