Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
ab8f2b0d
Commit
ab8f2b0d
authored
Aug 08, 2017
by
misterg
Browse files
WIP, win testing
parent
e66b6bc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
googletest/test/BUILD.bazel
googletest/test/BUILD.bazel
+7
-4
No files found.
googletest/test/BUILD.bazel
View file @
ab8f2b0d
...
...
@@ -116,24 +116,27 @@ 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_=
0
"
],
defines
=
[
"GTEST_ENABLE_CATCH_EXCEPTIONS_=
1
"
],
deps
=
[
"//:gtest_ex"
],
)
cc_test
(
name
=
"gtest-death-test_ex_nocatch_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
"
],
defines
=
[
"GTEST_ENABLE_CATCH_EXCEPTIONS_=
0
"
],
deps
=
[
"//:gtest_ex"
],
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment