[Lldb-commits] [lldb] 8e63f35 - [LLDB] Decorate tests failing on arm-linux buildbot

Muhammad Omair Javaid via lldb-commits lldb-commits at lists.llvm.org
Sun May 10 19:32:59 PDT 2020


Author: Muhammad Omair Javaid
Date: 2020-05-11T07:31:18+05:00
New Revision: 8e63f35f86bd9b8d014cd3488c09465bba34c1f7

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

LOG: [LLDB] Decorate tests failing on arm-linux buildbot

Tests impacted by these decorators fail on arm-linux-gnueabihf.

These have been triaged and appropriate bugs have been filed.

Added: 
    

Modified: 
    lldb/test/API/commands/expression/rdar44436068/Test128BitsInteger.py
    lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
    lldb/test/API/functionalities/return-value/TestReturnValue.py
    lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py
    lldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll
    lldb/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/expression/rdar44436068/Test128BitsInteger.py b/lldb/test/API/commands/expression/rdar44436068/Test128BitsInteger.py
index 4f163d0c3a04..b4f1662bd9c4 100644
--- a/lldb/test/API/commands/expression/rdar44436068/Test128BitsInteger.py
+++ b/lldb/test/API/commands/expression/rdar44436068/Test128BitsInteger.py
@@ -2,5 +2,5 @@
 from lldbsuite.test import decorators
 
 lldbinline.MakeInlineTest(__file__, globals(),
-        decorators.skipIf(archs=["armv7k", "i386"]))
+        decorators.skipIf(archs=["arm", "armv7k", "i386"]))
 

diff  --git a/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py b/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
index 9ad21522b4aa..7985c0647734 100644
--- a/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
+++ b/lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
@@ -10,7 +10,7 @@ class TestWatchpointCount(TestBase):
     def setUp(self):
         TestBase.setUp(self)
 
-    @skipIf(oslist=["linux"], archs=["aarch64"])
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"])
     def test_watchpoint_count(self):
         self.build()
         (_, process, thread, _) = lldbutil.run_to_source_breakpoint(self, "patatino", lldb.SBFileSpec("main.c"))

diff  --git a/lldb/test/API/functionalities/return-value/TestReturnValue.py b/lldb/test/API/functionalities/return-value/TestReturnValue.py
index 56ae42e19ae4..24aa504a593c 100644
--- a/lldb/test/API/functionalities/return-value/TestReturnValue.py
+++ b/lldb/test/API/functionalities/return-value/TestReturnValue.py
@@ -19,7 +19,7 @@ def affected_by_pr33042(self):
             "aarch64" and self.getPlatform() == "linux")
 
     def affected_by_pr44132(self):
-        return (self.getArchitecture() == "aarch64" and self.getPlatform() == "linux")
+        return ((self.getArchitecture() == "aarch64" or self.getArchitecture() == 'arm') and self.getPlatform() == "linux")
 
     # ABIMacOSX_arm can't fetch simple values inside a structure
     def affected_by_radar_34562999(self):

diff  --git a/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py b/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py
index 2a8a78a45ff1..a8cb358036ea 100644
--- a/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py
+++ b/lldb/test/API/lang/cpp/trivial_abi/TestTrivialABI.py
@@ -28,7 +28,7 @@ def test_call_trivial(self):
     @skipUnlessSupportedTypeAttribute("trivial_abi")
     # fixed for SysV-x86_64 ABI, but not Windows-x86_64
     @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr36870")
-    @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+    @expectedFailureAll(archs=["arm", "aarch64"], oslist=["linux"],
                         bugnumber="llvm.org/pr44161")
     @expectedFailureAll(archs=["arm64", "arm64e"], bugnumber="<rdar://problem/57844240>")
     def test_call_nontrivial(self):

diff  --git a/lldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll b/lldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll
index c61012b60535..ee39599e7c38 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll
+++ b/lldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll
@@ -1,3 +1,4 @@
+; XFAIL: target-arm && linux-gnu
 ; UNSUPPORTED: system-windows
 ;
 ; This test verifies that we do the right thing with DIFlagExportSymbols which is the new

diff  --git a/lldb/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp b/lldb/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp
index 4d267f077450..fd223a5b174b 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp
+++ b/lldb/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp
@@ -1,3 +1,4 @@
+// XFAIL: target-arm && linux-gnu
 // UNSUPPORTED: system-windows
 //
 // Test to verify we are correctly generating anonymous flags when parsing


        


More information about the lldb-commits mailing list