mirror of
https://github.com/google/googletest.git
synced 2024-12-27 18:31:21 +08:00
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.
|
||||
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"],
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user