mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
[lldb] Correct expected output for variable on 32 bit platforms
710276a2505514634a7cc805461b1219dcef9337 added settings to control leading zeros but the initial test case assumed a 64 bit target.
This commit is contained in:
parent
59c3dcafd8
commit
956860168b
@ -210,7 +210,7 @@ class ValueAPITestCase(TestBase):
|
||||
# Check that hex value printing works as expected.
|
||||
self.assertEqual(
|
||||
frame0.FindVariable("fixed_int_ptr").GetValue(),
|
||||
"0x00000000000000aa",
|
||||
"0x000000aa" if target.addr_size == 4 else "0x00000000000000aa",
|
||||
)
|
||||
self.runCmd("settings set target.show-hex-variable-values-with-leading-zeroes false")
|
||||
self.assertEqual(
|
||||
|
Loading…
x
Reference in New Issue
Block a user