diff options
author | Enrico Granata <egranata@apple.com> | 2013-03-26 00:24:27 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2013-03-26 00:24:27 +0000 |
commit | c540f57ffcb7f565cc474aab93fc17be676c7736 (patch) | |
tree | 5c06e3de250e8dff669ea501512ff6d06fd2f550 /lldb/test/functionalities/data-formatter/data-formatter-smart-array | |
parent | 36b1e5ce825bc008d39f5e9c84afb46aa120347c (diff) | |
download | bcm5719-llvm-c540f57ffcb7f565cc474aab93fc17be676c7736.tar.gz bcm5719-llvm-c540f57ffcb7f565cc474aab93fc17be676c7736.zip |
Checking that the wrong syntax does not give a correct summary after clearing the error messages here
llvm-svn: 177949
Diffstat (limited to 'lldb/test/functionalities/data-formatter/data-formatter-smart-array')
-rw-r--r-- | lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py b/lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py index 01a5665da96..6d3103cda4b 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py @@ -240,6 +240,12 @@ class SmartArrayDataFormatterTestCase(TestBase): # 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", |