[Lldb-commits] [PATCH] D19751: Fix TestEnumTypes.py for 32 bit platforms.

Chaoren Lin via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 29 16:40:35 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL268135: Fix TestEnumTypes.py for 32 bit platforms. (authored by chaoren).

Changed prior to commit:
  http://reviews.llvm.org/D19751?vs=55685&id=55686#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D19751

Files:
  lldb/trunk/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py

Index: lldb/trunk/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py
@@ -66,9 +66,9 @@
                                                                                                                              
         # 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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19751.55686.patch
Type: text/x-patch
Size: 1389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160429/f0f000e8/attachment.bin>


More information about the lldb-commits mailing list