[Lldb-commits] [lldb] 9389b05 - [lldb] Fix the TestValueAPI test

walter erquinigo via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 18 10:57:30 PDT 2023


Author: walter erquinigo
Date: 2023-09-18T13:57:25-04:00
New Revision: 9389b056a604b7da9478bb40125d6a1ad379823a

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

LOG: [lldb] Fix the TestValueAPI test

This test was reported as failing by https://lab.llvm.org/buildbot/#/builders/68/builds/60172. The fix is very simple. We need to invoke the correct setting.

Added: 
    

Modified: 
    lldb/test/API/python_api/value/TestValueAPI.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/python_api/value/TestValueAPI.py b/lldb/test/API/python_api/value/TestValueAPI.py
index 05670b8db9bb77a..3855c67c8d37257 100644
--- a/lldb/test/API/python_api/value/TestValueAPI.py
+++ b/lldb/test/API/python_api/value/TestValueAPI.py
@@ -212,7 +212,7 @@ def test(self):
             frame0.FindVariable("fixed_int_ptr").GetValue(),
             "0x00000000000000aa",
         )
-        self.runCmd("settings set target.show-hex-values-with-leading-zeroes false")
+        self.runCmd("settings set target.show-hex-variable-values-with-leading-zeroes false")
         self.assertEqual(
             frame0.FindVariable("another_fixed_int_ptr").GetValue(),
             "0xaa",


        


More information about the lldb-commits mailing list