summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/c
diff options
context:
space:
mode:
authorChaoren Lin <chaorenl@google.com>2016-04-29 23:34:44 +0000
committerChaoren Lin <chaorenl@google.com>2016-04-29 23:34:44 +0000
commit6840ae9d3cea5af54ee51e3b2b6245af2288bff7 (patch)
tree4a675d9c4d1c62d4cd6e1d767e146c33e455791e /lldb/packages/Python/lldbsuite/test/lang/c
parent9e5e2df3f319455f484c55d7266fd653995518b5 (diff)
downloadbcm5719-llvm-6840ae9d3cea5af54ee51e3b2b6245af2288bff7.tar.gz
bcm5719-llvm-6840ae9d3cea5af54ee51e3b2b6245af2288bff7.zip
Fix TestEnumTypes.py for 32 bit platforms.
Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D19751 llvm-svn: 268135
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/c')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py b/lldb/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py
index 3e0f7422674..31187a10e16 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py
@@ -66,9 +66,9 @@ class EnumTypesTestCase(TestBase):
# Make sure a pointer to an anonymous enum type does crash LLDB and displays correctly using
# frame variable and expression commands
- self.expect('frame variable f.op', DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ['ops *', 'f.op', '0x0000000000000000'])
+ self.expect('frame variable f.op', DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ['ops *', 'f.op'], patterns = ['0x0+$'])
self.expect('frame variable *f.op', DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ['ops', '*f.op', '<parent is NULL>'])
- self.expect('expr f.op', DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ['ops *', '$', '0x0000000000000000'])
+ self.expect('expr f.op', DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ['ops *', '$'], patterns = ['0x0+$'])
self.expect('expr *f.op', DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ['error:'], error = True)
bkpt = self.target().FindBreakpointByID(bkpt_id)
OpenPOWER on IntegriCloud