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:
		
							parent
							
								
									02b701f558
								
							
						
					
					
						commit
						ea772bbba0
					
				| 
						 | 
					@ -438,6 +438,8 @@ class TestBase(unittest2.TestCase):
 | 
				
			||||||
            if SR == StopReasonEnum("Breakpoint"):
 | 
					            if SR == StopReasonEnum("Breakpoint"):
 | 
				
			||||||
                frame = thread.GetFrameAtIndex(0)
 | 
					                frame = thread.GetFrameAtIndex(0)
 | 
				
			||||||
                name = frame.GetFunction().GetName()
 | 
					                name = frame.GetFunction().GetName()
 | 
				
			||||||
 | 
					                if trace:
 | 
				
			||||||
 | 
					                    print >> sys.stderr, "function =", name
 | 
				
			||||||
                if (name == func):
 | 
					                if (name == func):
 | 
				
			||||||
                    # We got what we want; now break out of the loop.
 | 
					                    # We got what we want; now break out of the loop.
 | 
				
			||||||
                    return True
 | 
					                    return True
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,7 +37,7 @@ class SettingsCommandTestCase(TestBase):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # The overall display should also reflect the new setting.
 | 
					        # The overall display should also reflect the new setting.
 | 
				
			||||||
        self.expect("settings show",
 | 
					        self.expect("settings show",
 | 
				
			||||||
            startstr = "term-width (int) = 70")
 | 
					            startstr = "term-width (int) = '70'")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if __name__ == '__main__':
 | 
					if __name__ == '__main__':
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue