diff options
author | Filipe Cabecinhas <me@filcab.net> | 2012-05-11 20:37:34 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2012-05-11 20:37:34 +0000 |
commit | 0c543ea186296616f635be8ca84fb252f92ede5b (patch) | |
tree | 78726774b62ed8e9d4600162525f0c98394a0896 | |
parent | 95d0117bb3d5fb6061dbb36c507ef43141c60e44 (diff) | |
download | bcm5719-llvm-0c543ea186296616f635be8ca84fb252f92ede5b.tar.gz bcm5719-llvm-0c543ea186296616f635be8ca84fb252f92ede5b.zip |
Make issue_11588/Test11588 work with a recent swig that converts ints to PyLongObjects
llvm-svn: 156637
-rw-r--r-- | lldb/test/expression_command/issue_11588/Test11588.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/expression_command/issue_11588/Test11588.py b/lldb/test/expression_command/issue_11588/Test11588.py index 59393bb93a7..9512701eddd 100644 --- a/lldb/test/expression_command/issue_11588/Test11588.py +++ b/lldb/test/expression_command/issue_11588/Test11588.py @@ -59,13 +59,13 @@ class Issue11581TestCase(TestBase): addr = addr - 1 self.runCmd("register write r14 %d" % addr) self.expect("register read r14", - substrs = ["0x",hex(addr)[2:]]) + substrs = ["0x",hex(addr)[2:].rstrip("L")]) # Remove trailing 'L' if it exists self.expect("print *(StgClosure*)$r14", substrs = ["(StgClosure) $", "(StgClosure *) &$","0x", "(long) addr = ", "(long) load_address = ", - hex(addr)[2:], + hex(addr)[2:].rstrip("L"), str(addr)]) |