[clangd] Fixes in lit tests
authorAleksandr Platonov <platonov.aleksandr@huawei.com>
Wed, 22 Jul 2020 12:59:36 +0000 (15:59 +0300)
committerAleksandr Platonov <platonov.aleksandr@huawei.com>
Wed, 22 Jul 2020 13:00:34 +0000 (16:00 +0300)
commit98b56c09be002855df18dada7debdb1322aad7d9
tree90aa97a0df31038d99e2c93c31e8b4146104802e
parent3533e0a08d00458efc28cf7d3faabb5a1721d245
[clangd] Fixes in lit tests

Summary:
Changes:
- `background-index.test` Add Windows support, don't create redundant `*-e` files on macOS
- `did-change-configuration-params.test` Replace `cat | FileCheck` with `FileCheck --input-file`
- `test-uri-windows.test` This test did not run on Windows displite `REQUIRES: windows-gnu || windows-msvc` (replacement: `UNSUPPORTED: !(windows-gnu || windows-msvc)`).

Reviewers: sammccall, kadircet

Reviewed By: kadircet

Subscribers: thakis, njames93, ormris, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83759
clang-tools-extra/clangd/test/Inputs/background-index/compile_commands.json.tmpl [moved from clang-tools-extra/clangd/test/Inputs/background-index/compile_commands.json with 100% similarity]
clang-tools-extra/clangd/test/Inputs/background-index/definition.jsonrpc.tmpl [moved from clang-tools-extra/clangd/test/Inputs/background-index/definition.jsonrpc with 100% similarity]
clang-tools-extra/clangd/test/background-index.test
clang-tools-extra/clangd/test/did-change-configuration-params.test
clang-tools-extra/clangd/test/test-uri-windows.test