diff options
author | Pavel Labath <labath@google.com> | 2018-06-08 10:39:55 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-06-08 10:39:55 +0000 |
commit | 982241097ce0c559b1815a6593f7ace979515930 (patch) | |
tree | 03397e9ca5f881d35ac4c59d33881ac5434e6fca /lldb/packages/Python/lldbsuite | |
parent | ed53ca73eccf41b72b672d3829862ad5a8771ef5 (diff) | |
download | bcm5719-llvm-982241097ce0c559b1815a6593f7ace979515930.tar.gz bcm5719-llvm-982241097ce0c559b1815a6593f7ace979515930.zip |
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.
llvm-svn: 334279
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py index b160303696a..15455f8cf3b 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py @@ -187,9 +187,9 @@ class MiExecTestCase(lldbmi_testcase.MiTestCaseBase): # 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 |