Author: daniilavdeev
Date: 2026-02-18T23:51:45+03:00
New Revision: e532a4fd9bdcdb82b77314e63aeb4423876cb692

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

LOG: [lldb][test] Mark TestDisassembler with @skipIfLLVMTargetMissing("RISCV") 
(#182126)

Added: 
    

Modified: 
    lldb/test/API/riscv/disassembler/TestDisassembler.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/riscv/disassembler/TestDisassembler.py 
b/lldb/test/API/riscv/disassembler/TestDisassembler.py
index 2f01283786b1f..d1badc153f486 100644
--- a/lldb/test/API/riscv/disassembler/TestDisassembler.py
+++ b/lldb/test/API/riscv/disassembler/TestDisassembler.py
@@ -12,6 +12,7 @@
 class TestDisassembler(TestBase):
     expected_zbb_instrs = ["andn", "orn", "xnor", "rol", "ror"]
 
+    @skipIfLLVMTargetMissing("RISCV")
     def test_without_riscv_attributes(self):
         """
         Tests disassembly of a riscv binary without the .riscv.attributes.
@@ -39,6 +40,7 @@ def test_without_riscv_attributes(self):
             "Instructions from the Zbb extension should be displayed as 
<unknown>",
         )
 
+    @skipIfLLVMTargetMissing("RISCV")
     def test_with_riscv_attributes(self):
         """
         Tests disassembly of a riscv binary with the .riscv.attributes.
@@ -55,6 +57,7 @@ def test_with_riscv_attributes(self):
         for instr in self.expected_zbb_instrs:
             self.assertTrue(instr in output, "Invalid disassembler output")
 
+    @skipIfLLVMTargetMissing("RISCV")
     def test_conflicting_extensions(self):
         """
         This test demonstrates the scenario where:


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to