CommandScriptImmediateOutputConsole.test
412 Bytes
# Test that LLDB correctly allows scripted commands to set immediate output to
# the console.
# RUN: %lldb -s %s \
# RUN: -o 'command script import %S/Inputs/custom_command.py' \
# RUN: -o 'command script add -f custom_command.command_function mycommand' \
# RUN: -o 'mycommand' \
# RUN: -o 'command script delete mycommand' \
# RUN: 2>&1 | FileCheck %s
# CHECK: this is a test string, just a test string