diff options
| author | Pavel Labath <pavel@labath.sk> | 2020-01-10 13:01:34 +0100 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2020-01-10 13:02:01 +0100 |
| commit | 5b7612792aeb5b161fdd69997db2a64b08f075b6 (patch) | |
| tree | a008ebbfcb09c68c6b4db089cb8ce7c423898420 /lldb/test/Shell/ScriptInterpreter/Lua | |
| parent | 8c12769f3046029e2a9b4e48e1645b1a77d28650 (diff) | |
| download | bcm5719-llvm-5b7612792aeb5b161fdd69997db2a64b08f075b6.tar.gz bcm5719-llvm-5b7612792aeb5b161fdd69997db2a64b08f075b6.zip | |
[lldb/lua] Make convenience_variables.test compatible with lua-5.1
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Lua')
| -rw-r--r-- | lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test b/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test index 022f2e38db4..e962fc7f5ec 100644 --- a/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test +++ b/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test @@ -5,11 +5,11 @@ # # RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s script -print(string.format("lldb.debugger is valid: %s", lldb.debugger:IsValid())) -print(string.format("lldb.target is valid: %s", lldb.target:IsValid())) -print(string.format("lldb.process is valid: %s", lldb.process:IsValid())) -print(string.format("lldb.thread is valid: %s", lldb.thread:IsValid())) -print(string.format("lldb.frame is valid: %s", lldb.frame:IsValid())) +print("lldb.debugger is valid: ", tostring(lldb.debugger:IsValid())) +print("lldb.target is valid: ", tostring(lldb.target:IsValid())) +print("lldb.process is valid: ", tostring(lldb.process:IsValid())) +print("lldb.thread is valid: ", tostring(lldb.thread:IsValid())) +print("lldb.frame is valid: ", tostring(lldb.frame:IsValid())) # CHECK: debugger is valid: true # CHECK: target is valid: false # CHECK: process is valid: false |

