[Lldb-commits] [lldb] r177949 - Checking that the wrong syntax does not give a correct summary after clearing the error messages here

Enrico Granata egranata at apple.com
Mon Mar 25 17:24:27 PDT 2013


Author: enrico
Date: Mon Mar 25 19:24:27 2013
New Revision: 177949

URL: http://llvm.org/viewvc/llvm-project?rev=177949&view=rev
Log:
Checking that the wrong syntax does not give a correct summary after clearing the error messages here


Modified:
    lldb/trunk/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py

Modified: lldb/trunk/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py?rev=177949&r1=177948&r2=177949&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py (original)
+++ lldb/trunk/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py Mon Mar 25 19:24:27 2013
@@ -240,6 +240,12 @@ class SmartArrayDataFormatterTestCase(Te
 # using [] is required here
         self.runCmd("type summary add --summary-string \"arr = ${var%x}\" \"int [5]\"")
         
+        self.expect("frame variable intarr",matching=False,
+                    substrs = ['0x00000001,0x00000001,0x00000002,0x00000003,0x00000005'])
+        
+        self.expect("frame variable other.intarr", matching=False,
+                    substrs = ['0x00000009,0x00000008,0x00000007,0x00000006,0x00000005'])
+
         self.runCmd("type summary add --summary-string \"arr = ${var[]%x}\" \"int [5]\"")
         
         self.expect("frame variable intarr",





More information about the lldb-commits mailing list