forked from OSchip/llvm-project
Instead of self.runCmd(), do a stronger self.expect("process status") which also
checks that the process is stopped due to breakpoint at the specified line no. llvm-svn: 125400
This commit is contained in:
parent
de32b20bdd
commit
259326c821
|
@ -42,7 +42,9 @@ class ConstStringTestCase(TestBase):
|
|||
(self.main_source, self.line))
|
||||
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.runCmd("process status")
|
||||
self.expect("process status", STOPPED_DUE_TO_BREAKPOINT,
|
||||
substrs = [" at %s:%d" % (self.main_source, self.line),
|
||||
"stop reason = breakpoint"])
|
||||
|
||||
self.expect('expression (int)[str compare:@"hello"]',
|
||||
startstr = "(int) $0 = 0")
|
||||
|
|
Loading…
Reference in New Issue