12 lines · plain
1# Test that LLDB correctly allows scripted commands to set immediate output to2# the console.3 4# RUN: %lldb -s %s \5# RUN: -o 'command script import %S/Inputs/custom_command.py' \6# RUN: -o 'command script add -f custom_command.command_function mycommand' \7# RUN: -o 'mycommand' \8# RUN: -o 'command script delete mycommand' \9# RUN: 2>&1 | FileCheck %s10 11# CHECK: this is a test string, just a test string12