UnitTests: Disable known to fail tests for Windows

So we can easily verify if other changes break anything.

The disabled tests should be all related to the by default enabled delayed
template instantiation on Windows, which is necessary to parse windows headers.

The disabled tests can be run with --gtest_also_run_disabled_tests or by
setting the env variable GTEST_ALSO_RUN_DISABLED_TESTS=1.

Change-Id: I040d881ff0a3fbf5fe85c0b3d1b8e7b0959d1b9c
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Nikolai Kosjar
2016-12-14 13:30:56 +01:00
committed by Tim Jenssen
parent 589fedf455
commit 186368c202
10 changed files with 62 additions and 29 deletions

View File

@@ -107,7 +107,7 @@ TEST_F(SourceLocation, Column)
ASSERT_THAT(sourceLocation.column(), 1);
}
TEST_F(SourceLocation, Offset)
TEST_F(SourceLocation, DISABLED_ON_WINDOWS(Offset))
{
ASSERT_THAT(sourceLocation.offset(), 18);
}