[Lldb-commits] [lldb] r334279 - Fix TestMiExec.py
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 8 03:39:56 PDT 2018
Author: labath
Date: Fri Jun 8 03:39:55 2018
New Revision: 334279
URL: http://llvm.org/viewvc/llvm-project?rev=334279&view=rev
Log:
Fix TestMiExec.py
r334215 changed the error message the tool prints for invalid thread
arguments to -exec-next command. This adjust the test to match that.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py?rev=334279&r1=334278&r2=334279&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py Fri Jun 8 03:39:55 2018
@@ -187,9 +187,9 @@ class MiExecTestCase(lldbmi_testcase.MiT
# Test that an invalid --thread is handled
self.runCmd("-exec-next --thread 0")
- self.expect("\^error,message=\"error: Thread index 0 is out of range")
+ self.expect("\^error,msg=\"Command 'exec-next'. Thread ID invalid")
self.runCmd("-exec-next --thread 10")
- self.expect("\^error,message=\"error: Thread index 10 is out of range")
+ self.expect("\^error,msg=\"Command 'exec-next'. Thread ID invalid")
# Test that an invalid --frame is handled
# FIXME: no error is returned
More information about the lldb-commits
mailing list