Author: Jonas Devlieghere
Date: 2021-02-03T13:46:00-08:00
New Revision: b3901ef09c74443c7d9deeb1c140ce6b0ea3f13c

URL: 
https://github.com/llvm/llvm-project/commit/b3901ef09c74443c7d9deeb1c140ce6b0ea3f13c
DIFF: 
https://github.com/llvm/llvm-project/commit/b3901ef09c74443c7d9deeb1c140ce6b0ea3f13c.diff

LOG: [lldb] Check for both Lua 5.3 and 5.4 error messages in the tests.

Added: 
    

Modified: 
    lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test
    lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test 
b/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test
index 65997d8af099..574873d2c0b6 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 b418889345d7..b5ca36d7cb56 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_'}}


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to