string.format("%s", true) only works since lua-5.2. Make the print
statement more portable.
7 lines
214 B
Plaintext
7 lines
214 B
Plaintext
# REQUIRES: lua
|
|
# RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s
|
|
script
|
|
debugger = lldb.SBDebugger.Create()
|
|
print("debugger is valid:", tostring(debugger:IsValid()))
|
|
# CHECK: debugger is valid: true
|