r264289 - Dsiable FormatStyle::GetStyleOfFile test case for mingw.

Eric Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 07:59:39 PDT 2016


Author: ioeric
Date: Thu Mar 24 09:59:39 2016
New Revision: 264289

URL: http://llvm.org/viewvc/llvm-project?rev=264289&view=rev
Log:
Dsiable FormatStyle::GetStyleOfFile test case for mingw.

Modified:
    cfe/trunk/unittests/Format/FormatTest.cpp

Modified: cfe/trunk/unittests/Format/FormatTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Format/FormatTest.cpp?rev=264289&r1=264288&r2=264289&view=diff
==============================================================================
--- cfe/trunk/unittests/Format/FormatTest.cpp (original)
+++ cfe/trunk/unittests/Format/FormatTest.cpp Thu Mar 24 09:59:39 2016
@@ -11202,7 +11202,7 @@ TEST_F(FormatTest, FormatsTableGenCode)
 
 // Since this test case uses UNIX-style file path. We disable it for MS
 // compiler.
-#if !defined(_MSC_VER)
+#if !defined(_MSC_VER) && !defined(__MINGW32__)
 
 TEST(FormatStyle, GetStyleOfFile) {
   vfs::InMemoryFileSystem FS;




More information about the cfe-commits mailing list