[clang-tools-extra] r343637 - [clangd] Temporarily disable VFS stats cache test for windows.

Eric Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 2 14:47:41 PDT 2018


Author: ioeric
Date: Tue Oct  2 14:47:41 2018
New Revision: 343637

URL: http://llvm.org/viewvc/llvm-project?rev=343637&view=rev
Log:
[clangd] Temporarily disable VFS stats cache test for windows.

Modified:
    clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp

Modified: clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp?rev=343637&r1=343636&r2=343637&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp (original)
+++ clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp Tue Oct  2 14:47:41 2018
@@ -963,6 +963,8 @@ TEST_F(ClangdVFSTest, ChangedHeaderFromI
                                        Field(&CodeCompletion::Name, "baz")));
 }
 
+// FIXME(ioeric): make this work for windows again.
+#ifndef _WIN32
 // Check that running code completion doesn't stat() a bunch of files from the
 // preamble again. (They should be using the preamble's stat-cache)
 TEST(ClangdTests, PreambleVFSStatCache) {
@@ -1028,6 +1030,7 @@ TEST(ClangdTests, PreambleVFSStatCache)
   EXPECT_THAT(Completions,
               ElementsAre(Field(&CodeCompletion::Name, "TestSym")));
 }
+#endif
 
 } // namespace
 } // namespace clangd




More information about the cfe-commits mailing list