[Lldb-commits] [lldb] r233382 - [TestMiExec] Fix the test for GCC after r233336.

Siva Chandra sivachandra at google.com
Fri Mar 27 09:00:51 PDT 2015


Author: sivachandra
Date: Fri Mar 27 11:00:51 2015
New Revision: 233382

URL: http://llvm.org/viewvc/llvm-project?rev=233382&view=rev
Log:
[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

Modified:
    lldb/trunk/test/tools/lldb-mi/control/TestMiExec.py

Modified: lldb/trunk/test/tools/lldb-mi/control/TestMiExec.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-mi/control/TestMiExec.py?rev=233382&r1=233381&r2=233382&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-mi/control/TestMiExec.py (original)
+++ lldb/trunk/test/tools/lldb-mi/control/TestMiExec.py Fri Mar 27 11:00:51 2015
@@ -289,7 +289,7 @@ class MiExecTestCase(lldbmi_testcase.MiT
         # (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.MiT
         # 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)





More information about the lldb-commits mailing list