summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2020-12-03 14:31:28 -0500
committervslashg <gfalcon@google.com>2020-12-03 14:50:20 -0500
commitdb150ebec1d9ec6cbab045d016dae186e02867f6 (patch)
tree6cd3b30302c55f2b2180147bbd5daf022fbe6249
parent141e95949697e459739c8005cac5286e3dd63620 (diff)
downloadgoogletest-git-E5E9B92DC71B262387A82177344D43FD.tar.gz
Export Test - Do Not MergeE5E9B92DC71B262387A82177344D43FD
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
-rw-r--r--googlemock/test/gmock-matchers_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc
index b7e253d7..e6923195 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;