summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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