Files
clang-p2996/lldb/lit/Commands/CommandScriptImmediateOutput/CommandScriptImmediateOutputConsole.test
Jonas Devlieghere d843da6218 [test] Convert CommandScriptImmediateOutput from pexpect to lit
This converts the CommandScriptImmediateOutput test from a python test
using pexpect to a lit test.

Differential revision: https://reviews.llvm.org/D60566

llvm-svn: 358180
2019-04-11 15:03:07 +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