Dsiable FormatStyle::GetStyleOfFile test case for mingw.
authorEric Liu <ioeric@google.com>
Thu, 24 Mar 2016 14:59:39 +0000 (14:59 +0000)
committerEric Liu <ioeric@google.com>
Thu, 24 Mar 2016 14:59:39 +0000 (14:59 +0000)
llvm-svn: 264289

clang/unittests/Format/FormatTest.cpp

index 7aa17e7..0adade0 100644 (file)
@@ -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;