diff options
author | Abseil Team <absl-team@google.com> | 2020-12-03 19:31:28 (GMT) |
---|---|---|
committer | vslashg <gfalcon@google.com> | 2020-12-03 20:42:58 (GMT) |
commit | 93748a946684defd1494d5585dbc912e451e83f8 (patch) | |
tree | 6cd3b30302c55f2b2180147bbd5daf022fbe6249 /googlemock | |
parent | 141e95949697e459739c8005cac5286e3dd63620 (diff) | |
download | googletest-93748a946684defd1494d5585dbc912e451e83f8.zip googletest-93748a946684defd1494d5585dbc912e451e83f8.tar.gz googletest-93748a946684defd1494d5585dbc912e451e83f8.tar.bz2 |
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
Diffstat (limited to 'googlemock')
-rw-r--r-- | googlemock/test/gmock-matchers_test.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc index b7e253d..e692319 100644 --- a/googlemock/test/gmock-matchers_test.cc +++ b/googlemock/test/gmock-matchers_test.cc @@ -1074,7 +1074,12 @@ struct MoveHelper { 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) { +#endif MoveOnly m{0}; MoveHelper helper; |