[clangd-dev] Replacing -lit-test with a test utility?

Jan Korous via clangd-dev clangd-dev at lists.llvm.org
Tue Aug 14 05:51:59 PDT 2018


We were discussing https://reviews.llvm.org/D50641 <https://reviews.llvm.org/D50641> over lunch and an idea to replace -lit-test by an utility appeared (shoutout to Dan Liew!).

I don’t particularly like to have specific code path for testing but I see the value it provides. How about I implement a small python script or a binary that would read JSON strings separated by triple-dash from stdin and write proper LSP messages to stdout (with LSP headers prepended)?

What do you think?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/clangd-dev/attachments/20180814/174fdada/attachment.html>

More information about the clangd-dev mailing list