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
This commit is contained in:
Johnny Chen 2010-09-07 18:55:50 +00:00
parent 02b701f558
commit ea772bbba0
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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__':