summaryrefslogtreecommitdiffstats
path: root/lldb/test/help/TestHelp.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-08-19 18:17:48 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-08-19 18:17:48 +0000
commit0c191863526addd565c9577f08a0910d118f9568 (patch)
treebc8b7ce646fb657f5249e5caa56b266c3225b307 /lldb/test/help/TestHelp.py
parentabca1734947b75b50ce41968d66ed66af8ee0c9b (diff)
downloadbcm5719-llvm-0c191863526addd565c9577f08a0910d118f9568.tar.gz
bcm5719-llvm-0c191863526addd565c9577f08a0910d118f9568.zip
Added more informational assert message strings.
llvm-svn: 111536
Diffstat (limited to 'lldb/test/help/TestHelp.py')
-rw-r--r--lldb/test/help/TestHelp.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index 1989eb57151..53ab9846c65 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -17,9 +17,9 @@ class TestHelpCommand(TestBase):
"""A simple test of 'help' command and its output."""
res = lldb.SBCommandReturnObject()
self.ci.HandleCommand("help", res)
- self.assertTrue(res.Succeeded())
- self.assertTrue(res.GetOutput().startswith(
- 'The following is a list of built-in, permanent debugger commands'),
+ self.assertTrue(res.Succeeded() and
+ res.GetOutput().startswith(
+ 'The following is a list of built-in, permanent debugger commands'),
CMD_MSG('help'))
def test_help_should_not_hang_emacsshell(self):
@@ -28,9 +28,9 @@ class TestHelpCommand(TestBase):
self.ci.HandleCommand("set term-width 0", res)
self.assertTrue(res.Succeeded(), CMD_MSG('set term-width 0'))
self.ci.HandleCommand("help", res)
- self.assertTrue(res.Succeeded())
- self.assertTrue(res.GetOutput().startswith(
- 'The following is a list of built-in, permanent debugger commands'),
+ self.assertTrue(res.Succeeded() and
+ res.GetOutput().startswith(
+ 'The following is a list of built-in, permanent debugger commands'),
CMD_MSG('help'))
OpenPOWER on IntegriCloud