diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-08-13 12:12:19 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-08-13 12:12:19 +0000 |
commit | 2515640aee7725c29104ec3a60dae345a3dbdb07 (patch) | |
tree | 2aa63262590adb1fa1d3bc75138b7d40fe920e25 /lldb/packages/Python/lldbsuite/test/iohandler/completion/main.c | |
parent | 36f23182bc3126b5841f7e88b8101378cf083b9d (diff) | |
download | bcm5719-llvm-2515640aee7725c29104ec3a60dae345a3dbdb07.tar.gz bcm5719-llvm-2515640aee7725c29104ec3a60dae345a3dbdb07.zip |
[lldb][NFC] Add basic IOHandler completion test
We have no test coverage for the IOHandler code that is doing the
completion in the command line. This is adding a pexpect-based test
as a preparation for the switch to using CompletionRequest in the
whole completion machinery.
llvm-svn: 368679
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/iohandler/completion/main.c')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/iohandler/completion/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/iohandler/completion/main.c b/lldb/packages/Python/lldbsuite/test/iohandler/completion/main.c new file mode 100644 index 00000000000..03350dd8299 --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/iohandler/completion/main.c @@ -0,0 +1,5 @@ +int main(int argc, char **argv) { + lldb_enable_attach(); + int to_complete = 0; + return to_complete; +} |