summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/ScriptInterpreter
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter')
-rw-r--r--lldb/test/Shell/ScriptInterpreter/Lua/bindings.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test b/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test
new file mode 100644
index 00000000000..00e00d43479
--- /dev/null
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test
@@ -0,0 +1,6 @@
+# REQUIRES: lua
+# RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s
+script
+debugger = lldb.SBDebugger.Create()
+print(string.format("debugger is valid: %s", debugger:IsValid()))
+# CHECK: debugger is valid: true
OpenPOWER on IntegriCloud