r194178 - Disable a tooling test on Windows.

Peter Collingbourne peter at pcc.me.uk
Wed Nov 6 15:54:36 PST 2013


On Wed, Nov 06, 2013 at 11:17:45PM +0000, Alp Toker wrote:
> 
> On 06/11/2013 23:02, Peter Collingbourne wrote:
> > Author: pcc
> > Date: Wed Nov  6 17:02:51 2013
> > New Revision: 194178
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=194178&view=rev
> > Log:
> > Disable a tooling test on Windows.
> >
> > 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=194178&r1=194177&r2=194178&view=diff
> > ==============================================================================
> > --- cfe/trunk/unittests/Tooling/ToolingTest.cpp (original)
> > +++ cfe/trunk/unittests/Tooling/ToolingTest.cpp Wed Nov  6 17:02:51 2013
> > @@ -282,6 +282,7 @@ TEST(ClangToolTest, ArgumentAdjusters) {
> >    EXPECT_FALSE(Found);
> >  }
> >  
> > +#ifndef _WIN32
> >  TEST(ClangToolTest, BuildASTs) {
> >    FixedCompilationDatabase Compilations("/", std::vector<std::string>());
> >  
> > @@ -299,6 +300,7 @@ TEST(ClangToolTest, BuildASTs) {
> >  
> >    llvm::DeleteContainerPointers(ASTs);
> >  }
> > +#endif
> 
> Is there a way to XFAIL this test instead of disabling?

As far as I know there isn't a way to XFAIL unit tests.

Thanks,
-- 
Peter



More information about the cfe-commits mailing list