From: Alexander Kornienko Date: Fri, 1 Jun 2012 16:48:55 +0000 (+0000) Subject: #ifdef out a broken test on win32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29fbfc21924a692155ac8e4e281f17438fe27d63;p=clang #ifdef out a broken test on win32 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157819 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Tooling/ToolingTest.cpp b/unittests/Tooling/ToolingTest.cpp index 9122786b55..efabaf7f99 100644 --- a/unittests/Tooling/ToolingTest.cpp +++ b/unittests/Tooling/ToolingTest.cpp @@ -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 Args; @@ -123,5 +126,7 @@ TEST(ToolInvocation, TestMapVirtualFile) { EXPECT_TRUE(Invocation.run()); } +#endif + } // end namespace tooling } // end namespace clang