r194534 - unittests/Tooling/ToolingTest.cpp: Suppress new tests on win32, due to handling of virtual file, such "/a.cc".

NAKAMURA Takumi geek4civic at gmail.com
Tue Nov 12 16:18:50 PST 2013


Author: chapuni
Date: Tue Nov 12 18:18:50 2013
New Revision: 194534

URL: http://llvm.org/viewvc/llvm-project?rev=194534&view=rev
Log:
unittests/Tooling/ToolingTest.cpp: Suppress new tests on win32, due to handling of virtual file, such "/a.cc".

Modified:
    cfe/trunk/unittests/Tooling/ToolingTest.cpp

Modified: cfe/trunk/unittests/Tooling/ToolingTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Tooling/ToolingTest.cpp?rev=194534&r1=194533&r2=194534&view=diff
==============================================================================
--- cfe/trunk/unittests/Tooling/ToolingTest.cpp (original)
+++ cfe/trunk/unittests/Tooling/ToolingTest.cpp Tue Nov 12 18:18:50 2013
@@ -300,7 +300,6 @@ TEST(ClangToolTest, BuildASTs) {
 
   llvm::DeleteContainerPointers(ASTs);
 }
-#endif
 
 struct TestDiagnosticConsumer : public DiagnosticConsumer {
   TestDiagnosticConsumer() : NumDiagnosticsSeen(0) {}
@@ -332,6 +331,7 @@ TEST(ClangToolTest, InjectDiagnosticCons
   EXPECT_EQ(1u, ASTs.size());
   EXPECT_EQ(1u, Consumer.NumDiagnosticsSeen);
 }
+#endif
 
 } // end namespace tooling
 } // end namespace clang





More information about the cfe-commits mailing list