]> granicus.if.org Git - clang/commitdiff
#ifdef out a broken test on win32
authorAlexander Kornienko <alexfh@google.com>
Fri, 1 Jun 2012 16:48:55 +0000 (16:48 +0000)
committerAlexander Kornienko <alexfh@google.com>
Fri, 1 Jun 2012 16:48:55 +0000 (16:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157819 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Tooling/ToolingTest.cpp

index 9122786b5535fcbbc2a860af55f49df4a19e5637..efabaf7f99492606edfaf37e1b0bdab9e5a1a2e4 100644 (file)
@@ -110,6 +110,9 @@ TEST(newFrontendActionFactory, CreatesFrontendActionFactoryFromFactoryType) {
   EXPECT_TRUE(Action.get() != NULL);
 }
 
+#ifndef LLVM_ON_WIN32
+// This test breaks on Windows.
+
 TEST(ToolInvocation, TestMapVirtualFile) {
   clang::FileManager Files((clang::FileSystemOptions()));
   std::vector<std::string> Args;
@@ -123,5 +126,7 @@ TEST(ToolInvocation, TestMapVirtualFile) {
   EXPECT_TRUE(Invocation.run());
 }
 
+#endif
+
 } // end namespace tooling
 } // end namespace clang