summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/completion
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-11-08 20:36:40 +0000
committerJim Ingham <jingham@apple.com>2016-11-08 20:36:40 +0000
commit6a9767c7e6983c3211e35757899fb83afb2eb807 (patch)
treed3d4fc44de0827c79099978569ee676feb81c604 /lldb/packages/Python/lldbsuite/test/functionalities/completion
parentedc183e4375ab9b5be5487035327ca14ab7c322b (diff)
downloadbcm5719-llvm-6a9767c7e6983c3211e35757899fb83afb2eb807.tar.gz
bcm5719-llvm-6a9767c7e6983c3211e35757899fb83afb2eb807.zip
Clean up the stop printing header lines.
I added a "thread-stop-format" to distinguish between the form that is just the thread info (since the stop printing immediately prints the frame info) and one with more frame 0 info - which is useful for "thread list" and the like. I also added a frame.no-debug boolean to the format entities so you can print frame information differently between frames with source info and those without. This closes https://reviews.llvm.org/D26383. <rdar://problem/28273697> llvm-svn: 286288
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/completion')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
index aadd664dff5..9f55f64b2be 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
@@ -190,8 +190,8 @@ class CommandLineCompletionTestCase(TestBase):
@skipIfFreeBSD # timing out on the FreeBSD buildbot
@no_debug_info_test
def test_settings_set_th(self):
- """Test that 'settings set th' completes to 'settings set thread-format'."""
- self.complete_from_to('settings set th', 'settings set thread-format')
+ """Test that 'settings set thread-f' completes to 'settings set thread-format'."""
+ self.complete_from_to('settings set thread-f', 'settings set thread-format')
@expectedFailureAll(hostoslist=["windows"], bugnumber="llvm.org/pr24679")
@skipIfFreeBSD # timing out on the FreeBSD buildbot
@@ -204,9 +204,9 @@ class CommandLineCompletionTestCase(TestBase):
@skipIfFreeBSD # timing out on the FreeBSD buildbot
@no_debug_info_test
def test_settings_clear_th(self):
- """Test that 'settings clear th' completes to 'settings clear thread-format'."""
+ """Test that 'settings clear thread-f' completes to 'settings clear thread-format'."""
self.complete_from_to(
- 'settings clear th',
+ 'settings clear thread-f',
'settings clear thread-format')
@expectedFailureAll(hostoslist=["windows"], bugnumber="llvm.org/pr24679")
OpenPOWER on IntegriCloud