[TestMiExec] Fix the test for GCC after r233336.

Test Plan: dotest.py -C gcc p TestMiExec

Reviewers: vharron

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D8664

llvm-svn: 233382
This commit is contained in:
Siva Chandra 2015-03-27 16:00:51 +00:00
parent 2fcfb5e5c7
commit bfbc7b9c41
1 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ class MiExecTestCase(lldbmi_testcase.MiTestCaseBase):
# (and that --frame is optional)
self.runCmd("-exec-step --thread 1")
self.expect("\^running")
self.expect("\*stopped,reason=\"end-stepping-range\".*func=\"s_MyFunction.*\"")
self.expect("\*stopped,reason=\"end-stepping-range\".*func=\".*s_MyFunction.*\"")
# Test that -exec-step steps into g_MyFunction from inside
# s_MyFunction (and that both --thread and --frame are optional)
@ -411,7 +411,7 @@ class MiExecTestCase(lldbmi_testcase.MiTestCaseBase):
# s_MyFunction (and that --frame is optional)
self.runCmd("-exec-finish --thread 1")
self.expect("\^running")
self.expect("\*stopped,reason=\"end-stepping-range\".*func=\"s_MyFunction.*\"")
self.expect("\*stopped,reason=\"end-stepping-range\".*func=\".*s_MyFunction.*\"")
# Test that -exec-finish returns from s_MyFunction
# (and that both --thread and --frame are optional)