[Lldb-commits] [lldb] 58027fa - [lldb] Require wide char support in unicode test (#131951)

via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 19 08:18:03 PDT 2025


Author: David Peixotto
Date: 2025-03-19T08:17:59-07:00
New Revision: 58027fa989391451d7eaa21fe24c135bcad52e79

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

LOG: [lldb] Require wide char support in unicode test (#131951)

The unicode test sends some unicode input to lldb through pexpect and
expects the output to be echoed back in an error message. This only
works correctly when editline was compiled with wide character support.

This commit modifies the test to require the necessary libedit
configuration.

Added: 
    

Modified: 
    lldb/test/API/iohandler/unicode/TestUnicode.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/iohandler/unicode/TestUnicode.py b/lldb/test/API/iohandler/unicode/TestUnicode.py
index 93e2ae38f8262..f13427f2c30a8 100644
--- a/lldb/test/API/iohandler/unicode/TestUnicode.py
+++ b/lldb/test/API/iohandler/unicode/TestUnicode.py
@@ -16,6 +16,7 @@ class TestCase(PExpectTest):
     # under ASAN on a loaded machine..
     @skipIfAsan
     @skipIf(oslist=["linux"], archs=["arm", "aarch64"])  # Randomly fails on buildbot
+    @skipIfEditlineWideCharSupportMissing
     def test_unicode_input(self):
         self.launch()
 


        


More information about the lldb-commits mailing list