summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-09-07 18:55:50 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-09-07 18:55:50 +0000
commitea772bbba09194d48965f39d0f7635bde22e3d2c (patch)
treeace23e6fb6e549a06e4392331337989800dfdde3 /lldb
parent02b701f558cde158ece9135a030bbbcc1bcbf022 (diff)
downloadbcm5719-llvm-ea772bbba09194d48965f39d0f7635bde22e3d2c.tar.gz
bcm5719-llvm-ea772bbba09194d48965f39d0f7635bde22e3d2c.zip
The output for term-width setting has single quotes around the (int) value.
And added a trace output for the stop function name to breakAfterLaunch() method. llvm-svn: 113251
Diffstat (limited to 'lldb')
-rw-r--r--lldb/test/lldbtest.py2
-rw-r--r--lldb/test/settings/TestSettings.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index 40a8903bda9..f9456208d5d 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -438,6 +438,8 @@ class TestBase(unittest2.TestCase):
if SR == StopReasonEnum("Breakpoint"):
frame = thread.GetFrameAtIndex(0)
name = frame.GetFunction().GetName()
+ if trace:
+ print >> sys.stderr, "function =", name
if (name == func):
# We got what we want; now break out of the loop.
return True
diff --git a/lldb/test/settings/TestSettings.py b/lldb/test/settings/TestSettings.py
index 10cfedc720e..7d549db09d6 100644
--- a/lldb/test/settings/TestSettings.py
+++ b/lldb/test/settings/TestSettings.py
@@ -37,7 +37,7 @@ class SettingsCommandTestCase(TestBase):
# The overall display should also reflect the new setting.
self.expect("settings show",
- startstr = "term-width (int) = 70")
+ startstr = "term-width (int) = '70'")
if __name__ == '__main__':
OpenPOWER on IntegriCloud