diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2021-02-03 13:45:54 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2021-02-03 13:46:00 -0800 |
commit | b3901ef09c74443c7d9deeb1c140ce6b0ea3f13c (patch) | |
tree | e6b05da6fe95fe6a3cef9d3bf18372d6acec1d73 | |
parent | 98e50a7d4c12d2c32eb15e55cbb2e1f89a802e28 (diff) | |
download | llvm-b3901ef09c74443c7d9deeb1c140ce6b0ea3f13c.zip llvm-b3901ef09c74443c7d9deeb1c140ce6b0ea3f13c.tar.gz llvm-b3901ef09c74443c7d9deeb1c140ce6b0ea3f13c.tar.bz2 |
[lldb] Check for both Lua 5.3 and 5.4 error messages in the tests.
-rw-r--r-- | lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test | 2 | ||||
-rw-r--r-- | lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test b/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test index 65997d8..574873d 100644 --- a/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test +++ b/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test @@ -10,4 +10,4 @@ run # CHECK: 123 breakpoint command add -s lua 789_nil -# CHECK: unexpected symbol near '789' +# CHECK: {{unexpected symbol near '789'|malformed number near '789_'}} diff --git a/lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test b/lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test index b418889..b5ca36d 100644 --- a/lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test +++ b/lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test @@ -2,4 +2,4 @@ # RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s b main breakpoint command add -s lua -o '1234_foo' -# CHECK: error: {{.*}} unexpected symbol near '1234' +# CHECK: error: {{.*}} {{unexpected symbol near '1234'|malformed number near '1234_'}} |