diff options
author | Enrico Granata <egranata@apple.com> | 2016-01-29 01:12:13 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2016-01-29 01:12:13 +0000 |
commit | fa7ae77af40f4fdce6fb0527f3c5ca3e1fb68dea (patch) | |
tree | f783fa46a3f9aabf3826230c5ea20a00c19f544c /lldb/packages/Python/lldbsuite | |
parent | 53010a0d5b1585265324e7744acdbb4751cec27f (diff) | |
download | bcm5719-llvm-fa7ae77af40f4fdce6fb0527f3c5ca3e1fb68dea.tar.gz bcm5719-llvm-fa7ae77af40f4fdce6fb0527f3c5ca3e1fb68dea.zip |
Fix a bug where type <formatter> list would ignore the -w argument
rdar://24379879
llvm-svn: 259135
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py index 8381b123743..4ab22d04e45 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py @@ -24,3 +24,7 @@ class TypeSummaryListArgumentTestCase(TestBase): """Test that the 'type summary list' command handles command line arguments properly""" self.expect('type summary list Foo', substrs=['Category: default', 'Category: system']) self.expect('type summary list char', substrs=['char *', 'unsigned char']) + + self.expect('type summary list -w default', substrs=['system'], matching=False) + self.expect('type summary list -w system unsigned', substrs=['default', '0-9'], matching=False) + self.expect('type summary list -w system char', substrs=['unsigned char *'], matching=True) |