]> granicus.if.org Git - clang/commitdiff
Revert r157819, "#ifdef out a broken test on win32"
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 2 Jun 2012 15:34:26 +0000 (15:34 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 2 Jun 2012 15:34:26 +0000 (15:34 +0000)
FYI, LLVM_ON_WIN32 is useless.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157890 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Tooling/ToolingTest.cpp

index efabaf7f99492606edfaf37e1b0bdab9e5a1a2e4..9122786b5535fcbbc2a860af55f49df4a19e5637 100644 (file)
@@ -110,9 +110,6 @@ 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;
@@ -126,7 +123,5 @@ TEST(ToolInvocation, TestMapVirtualFile) {
   EXPECT_TRUE(Invocation.run());
 }
 
-#endif
-
 } // end namespace tooling
 } // end namespace clang