ClangTidyTests: Suppress FixHeaderGuards on win32 for now.

FIXME: It seems this might be incompatible to dos path. Investigating.
llvm-svn: 215590
This commit is contained in:
NAKAMURA Takumi 2014-08-13 22:12:38 +00:00
parent c54e6e833e
commit 15fb86c4e6
1 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,8 @@ TEST(NamespaceCommentCheckTest, FixWrongComments) {
"} // namespace asdf"));
}
// FIXME: It seems this might be incompatible to dos path. Investigating.
#if !defined(_WIN32)
static std::string runHeaderGuardCheck(StringRef Code, const Twine &Filename) {
return test::runCheckOnCode<LLVMHeaderGuardCheck>(
Code, /*Errors=*/nullptr, Filename, std::string("-xc++-header"));
@ -125,6 +127,7 @@ TEST(LLVMHeaderGuardCheckTest, FixHeaderGuards) {
"int foo;\n#ifndef FOOLOLO\n#define FOOLOLO\n#endif\n",
"include/clang/bar.h"));
}
#endif
} // namespace test
} // namespace tidy