diff options
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test')
-rw-r--r-- | lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test b/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test new file mode 100644 index 00000000000..c49124a22bf --- /dev/null +++ b/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test @@ -0,0 +1,11 @@ +# REQUIRES: python +# +# Test that the scripting language argument to "breakpoint command" is honored +# even if the global scripting language is different. +# +# RUN: cat %s | %lldb --script-language none 2>&1 | FileCheck %s +b main +breakpoint command add -s python +print("foo") +DONE +# CHECK: Enter your Python command(s). Type 'DONE' to end. |