mirror of
https://github.com/google/googletest.git
synced 2026-07-21 14:43:35 +00:00
Merge pull request #4869 from phst:alwayslink
PiperOrigin-RevId: 946402457 Change-Id: I78650f118c24fb668bf51e861cf910a997ff227d
This commit is contained in:
@@ -187,6 +187,7 @@ cc_library(
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
deps = [":gtest"],
|
||||
alwayslink = True,
|
||||
)
|
||||
|
||||
# The following rules build samples of how to use gTest.
|
||||
|
||||
@@ -125,7 +125,7 @@ cc_test(
|
||||
name = "googletest-listener-test",
|
||||
size = "small",
|
||||
srcs = ["googletest-listener-test.cc"],
|
||||
deps = ["//:gtest_main"],
|
||||
deps = ["//:gtest"],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
@@ -358,7 +358,7 @@ cc_test(
|
||||
name = "gtest_skip_in_environment_setup_test",
|
||||
size = "small",
|
||||
srcs = ["gtest_skip_in_environment_setup_test.cc"],
|
||||
deps = ["//:gtest_main"],
|
||||
deps = ["//:gtest"],
|
||||
)
|
||||
|
||||
py_test(
|
||||
@@ -417,7 +417,7 @@ cc_binary(
|
||||
name = "googletest-catch-exceptions-no-ex-test_",
|
||||
testonly = 1,
|
||||
srcs = ["googletest-catch-exceptions-test_.cc"],
|
||||
deps = ["//:gtest_main"],
|
||||
deps = ["//:gtest"],
|
||||
)
|
||||
|
||||
cc_binary(
|
||||
@@ -425,7 +425,7 @@ cc_binary(
|
||||
testonly = 1,
|
||||
srcs = ["googletest-catch-exceptions-test_.cc"],
|
||||
copts = ["-fexceptions"],
|
||||
deps = ["//:gtest_main"],
|
||||
deps = ["//:gtest"],
|
||||
)
|
||||
|
||||
py_test(
|
||||
|
||||
Reference in New Issue
Block a user