Commit 93748a94 authored by Abseil Team's avatar Abseil Team Committed by vslashg
Browse files

Googletest export

Disable a gmock matcher test under MSVC 2015 (version 14) and earlier.  It interacts badly with Windows structured exceptions in a way we do not have the resources to investigate.  This test passes under MSVC 2017 and SEH.

PiperOrigin-RevId: 345496734
parent 141e9594
...@@ -1074,7 +1074,12 @@ struct MoveHelper { ...@@ -1074,7 +1074,12 @@ struct MoveHelper {
MOCK_METHOD1(Call, void(MoveOnly)); MOCK_METHOD1(Call, void(MoveOnly));
}; };
// Disable this test in VS 2015 (version 14), where it fails when SEH is enabled
#if defined(_MSC_VER) && (_MSC_VER < 1910)
TEST(ComparisonBaseTest, DISABLED_WorksWithMoveOnly) {
#else
TEST(ComparisonBaseTest, WorksWithMoveOnly) { TEST(ComparisonBaseTest, WorksWithMoveOnly) {
#endif
MoveOnly m{0}; MoveOnly m{0};
MoveHelper helper; MoveHelper helper;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment