Skip to content

Commit

Permalink
Better support of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Aug 24, 2016
1 parent 2cdfa0a commit 9da7dd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ int main(int argc, const char **argv)
Argv.push_back("-fPIE");
Argv.push_back("-fPIC");
Argv.push_back("-Wno-microsoft"); // get rid of a warning in qtextdocument.h
Argv.push_back("-Wno-pragma-once-outside-header");
Argv.push_back("-std=c++11");

bool NextArgNotInput = false;
Expand Down
3 changes: 3 additions & 0 deletions src/workaroundtests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ bool Generator::WorkaroundTests(llvm::StringRef ClassName, const clang::CXXMetho
// moc -E to preprocess behave differently
.Case("unterminatedFunctionMacro", true)

// MSVC compat mode for $INCLUDE environment variable not implemented
.Case("environmentIncludePaths", true)

.Default(false);
} else if(ClassName == "tst_QObject"){
if (MethodName == "normalize") {
Expand Down

0 comments on commit 9da7dd6

Please sign in to comment.