WIP, win testing
This commit is contained in:
parent
e66b6bc868
commit
ab8f2b0d09
|
@ -116,7 +116,19 @@ cc_test(
|
||||||
#Verifies interaction of death tests and exceptions.
|
#Verifies interaction of death tests and exceptions.
|
||||||
cc_test(
|
cc_test(
|
||||||
name = "gtest-death-test_ex_catch_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"],
|
srcs = ["gtest-death-test_ex_test.cc"],
|
||||||
copts = select({
|
copts = select({
|
||||||
"//:win": ["-DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
|
"//:win": ["-DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"],
|
||||||
|
@ -126,14 +138,5 @@ cc_test(
|
||||||
deps = ["//:gtest_ex"],
|
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"],
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user