summaryrefslogtreecommitdiffstats
path: root/googletest/test
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/test')
-rw-r--r--googletest/test/BUILD.bazel4
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/test/BUILD.bazel b/googletest/test/BUILD.bazel
index 5faf361..4eb70b2 100644
--- a/googletest/test/BUILD.bazel
+++ b/googletest/test/BUILD.bazel
@@ -119,7 +119,7 @@ cc_test(
size = "small",
srcs = ["gtest-death-test_ex_test.cc"],
copts = select({
- "//:win": [],
+ "//:win": ["-DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
"//conditions:default": ["-fexceptions"],
}),
defines = ["GTEST_ENABLE_CATCH_EXCEPTIONS_=0"],
@@ -131,7 +131,7 @@ cc_test(
size = "small",
srcs = ["gtest-death-test_ex_test.cc"],
copts = select({
- "//:win": [],
+ "//:win": ["-DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
"//conditions:default": ["-fexceptions"],
}),
defines = ["GTEST_ENABLE_CATCH_EXCEPTIONS_=1"],