WIP, win testing

This commit is contained in:
misterg 2017-08-08 15:54:36 -04:00
parent e66b6bc868
commit ab8f2b0d09

View File

@ -116,7 +116,19 @@ cc_test(
#Verifies interaction of death tests and exceptions.
cc_test(
name = "gtest-death-test_ex_catch_test",
size = "small",
size = "medium",
srcs = ["gtest-death-test_ex_test.cc"],
copts = select({
"//:win": ["-DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
"//conditions:default": ["-fexceptions"],
}),
defines = ["GTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
deps = ["//:gtest_ex"],
)
cc_test(
name = "gtest-death-test_ex_nocatch_test",
size = "medium",
srcs = ["gtest-death-test_ex_test.cc"],
copts = select({
"//:win": ["-DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
@ -126,14 +138,5 @@ cc_test(
deps = ["//:gtest_ex"],
)
cc_test(
name = "gtest-death-test_ex_nocatch_test",
size = "small",
srcs = ["gtest-death-test_ex_test.cc"],
copts = select({
"//:win": ["-DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
"//conditions:default": ["-fexceptions"],
}),
defines = ["GTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
deps = ["//:gtest_ex"],
)