summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormisterg <misterg@google.com>2017-08-08 19:37:38 (GMT)
committermisterg <misterg@google.com>2017-08-08 19:37:38 (GMT)
commit40a909b4e543f865b4c35e9b31ad0f485ed32e62 (patch)
tree7583c03d01c615207ce4e7e8e98c20cd95d914e6
parenta2006b2ab0347851531f126aac6edcc8c7305064 (diff)
downloadgoogletest-40a909b4e543f865b4c35e9b31ad0f485ed32e62.zip
googletest-40a909b4e543f865b4c35e9b31ad0f485ed32e62.tar.gz
googletest-40a909b4e543f865b4c35e9b31ad0f485ed32e62.tar.bz2
WIP, windows testing
-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"],