summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Commands/CommandScriptImmediateOutput/CommandScriptImmediateOutputConsole.test
blob: c928a44afb71b01d91a21cfb745ae44ee89b823a (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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
OpenPOWER on IntegriCloud