llvm-project/lldb/test/Shell/Commands/CommandScriptImmediateOutput/CommandScriptImmediateOutputConsole.test
Jonas Devlieghere 87aa9c9e4d Re-land "[test] Split LLDB tests into API, Shell & Unit"
The original patch got reverted because it broke `check-lldb` on a clean
build. This fixes that.

llvm-svn: 374201
2019-10-09 19:22:02 +00:00

12 lines
412 B
Plaintext

# 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