From: NAKAMURA Takumi Date: Thu, 25 Oct 2012 09:38:41 +0000 (+0000) Subject: unittests/ToolingTest.cpp: Suppress newFrontendActionFactory.InjectsEndOfSourceFileCa... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9a2d5bdb747836917c2a5f7e12d075ec6762c77;p=clang unittests/ToolingTest.cpp: Suppress newFrontendActionFactory.InjectsEndOfSourceFileCallback on Win32 for now. Investigating. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166674 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Tooling/ToolingTest.cpp b/unittests/Tooling/ToolingTest.cpp index 7846df3b93..d40c613dd0 100644 --- a/unittests/Tooling/ToolingTest.cpp +++ b/unittests/Tooling/ToolingTest.cpp @@ -142,6 +142,7 @@ struct VerifyEndCallback : public EndOfSourceFileCallback { bool Matched; }; +#if !defined(_WIN32) TEST(newFrontendActionFactory, InjectsEndOfSourceFileCallback) { VerifyEndCallback EndCallback; @@ -159,6 +160,7 @@ TEST(newFrontendActionFactory, InjectsEndOfSourceFileCallback) { EXPECT_TRUE(EndCallback.Matched); EXPECT_EQ(2u, EndCallback.Called); } +#endif } // end namespace tooling } // end namespace clang