diff options
author | Enrico Granata <granata.enrico@gmail.com> | 2011-08-23 16:13:35 +0000 |
---|---|---|
committer | Enrico Granata <granata.enrico@gmail.com> | 2011-08-23 16:13:35 +0000 |
commit | db3485cd06e76b771b1103f871cbd028a1957348 (patch) | |
tree | 499cf0e0d0ed9cd384e12a570496a68c5e975724 /lldb/test/functionalities/data-formatter/data-formatter-script | |
parent | c50ea3beafc817ba7114b54479b26c6c02144eac (diff) | |
download | bcm5719-llvm-db3485cd06e76b771b1103f871cbd028a1957348.tar.gz bcm5719-llvm-db3485cd06e76b771b1103f871cbd028a1957348.zip |
Short option for --summary-string in 'type summary add' is now -s. This might be a breaking change for those who have summaries defined.
llvm-svn: 138331
Diffstat (limited to 'lldb/test/functionalities/data-formatter/data-formatter-script')
-rw-r--r-- | lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py b/lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py index 16d23362d60..c528883deb8 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py @@ -90,7 +90,7 @@ class DataFormatterTestCase(TestBase): substrs = ['int says 1']) # Change the summary - self.runCmd("type summary add -f \"int says ${var.integer}, and float says ${var.floating}\" i_am_cool") + self.runCmd("type summary add --summary-string \"int says ${var.integer}, and float says ${var.floating}\" i_am_cool") self.expect("frame variable two", substrs = ['int says 1', @@ -120,7 +120,7 @@ class DataFormatterTestCase(TestBase): self.expect("frame variable two", matching=False, substrs = ['Python summary']) - self.runCmd("type summary add i_am_cool -f \"Text summary\"") + self.runCmd("type summary add i_am_cool --summary-string \"Text summary\"") self.expect("frame variable one", substrs = ['Python summary']) @@ -139,7 +139,7 @@ class DataFormatterTestCase(TestBase): substrs = ['Text summary']) # disable type summary for pointers, and make a Python regex summary - self.runCmd("type summary add i_am_cool -p -f \"Text summary\"") + self.runCmd("type summary add i_am_cool -p --summary-string \"Text summary\"") self.runCmd("type summary add -x cool --python-script \"%s\"" % script) # variables should stick to the type summary @@ -157,7 +157,7 @@ class DataFormatterTestCase(TestBase): substrs = ['Python summary']) # return pointers to the type summary - self.runCmd("type summary add i_am_cool -f \"Text summary\"") + self.runCmd("type summary add i_am_cool --summary-string \"Text summary\"") self.expect("frame variable one", substrs = ['Text summary']) |