Fix TestEnumTypes.py for 32 bit platforms.

Reviewers: clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D19751

llvm-svn: 268135
This commit is contained in:
Chaoren Lin 2016-04-29 23:34:44 +00:00
parent 9e5e2df3f3
commit 6840ae9d3c
1 changed files with 2 additions and 2 deletions

View File

@ -66,9 +66,9 @@ class EnumTypesTestCase(TestBase):
# Make sure a pointer to an anonymous enum type does crash LLDB and displays correctly using # Make sure a pointer to an anonymous enum type does crash LLDB and displays correctly using
# frame variable and expression commands # 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('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) self.expect('expr *f.op', DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ['error:'], error = True)
bkpt = self.target().FindBreakpointByID(bkpt_id) bkpt = self.target().FindBreakpointByID(bkpt_id)