summaryrefslogtreecommitdiff
path: root/clang-tools-extra/test
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2019-01-10 17:03:04 +0000
committerKadir Cetinkaya <kadircet@google.com>2019-01-10 17:03:04 +0000
commit4e6c1737f7973a7085f1ae85136d1efd2bf25b42 (patch)
tree0241800ab55697f415db5b9558641ad0ed8f742e /clang-tools-extra/test
parentbfc8df0ddf6252b51cfb3b702b3c50c43e95a9c4 (diff)
[clangd] Introduce loading of shards within auto-index
Summary: Whenever a change happens on a CDB, load shards associated with that CDB before issuing re-index actions. Reviewers: ilya-biryukov Reviewed By: ilya-biryukov Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits Differential Revision: https://reviews.llvm.org/D55224
Diffstat (limited to 'clang-tools-extra/test')
-rw-r--r--clang-tools-extra/test/clangd/background-index.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clangd/background-index.test b/clang-tools-extra/test/clangd/background-index.test
index 7826ef279d8..34c419ac682 100644
--- a/clang-tools-extra/test/clangd/background-index.test
+++ b/clang-tools-extra/test/clangd/background-index.test
@@ -16,6 +16,5 @@
# RUN: ls %t/.clangd-index/foo.cpp.*.idx
# Test the index is read from disk: delete code and restart clangd.
-# FIXME: This test currently fails as we don't read the index yet.
# RUN: rm %t/foo.cpp
-# RUN: clangd -background-index -lit-test < %t/definition.jsonrpc | not FileCheck %t/definition.jsonrpc
+# RUN: clangd -background-index -lit-test < %t/definition.jsonrpc | FileCheck %t/definition.jsonrpc