"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "googletest/test/BUILD.bazel" between
googletest-release-1.10.0.tar.gz and googletest-release-1.11.0.tar.gz

About: GoogleTest is Google's (unit) testing and mocking framework for C++ tests.

BUILD.bazel  (googletest-release-1.10.0):BUILD.bazel  (googletest-release-1.11.0)
skipping to change at line 31 skipping to change at line 31
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
# Author: misterg@google.com (Gennadiy Civil)
#
# Bazel BUILD for The Google C++ Testing Framework (Google Test) # Bazel BUILD for The Google C++ Testing Framework (Google Test)
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_test") load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_test")
load("@rules_python//python:defs.bzl", "py_library", "py_test") load("@rules_python//python:defs.bzl", "py_library", "py_test")
licenses(["notice"]) licenses(["notice"])
package(default_visibility = ["//:__subpackages__"])
#on windows exclude gtest-tuple.h #on windows exclude gtest-tuple.h
cc_test( cc_test(
name = "gtest_all_test", name = "gtest_all_test",
size = "small", size = "small",
srcs = glob( srcs = glob(
include = [ include = [
"gtest-*.cc", "gtest-*.cc",
"googletest-*.cc", "googletest-*.cc",
"*.h", "*.h",
"googletest/include/gtest/**/*.h", "googletest/include/gtest/**/*.h",
], ],
exclude = [ exclude = [
"gtest-unittest-api_test.cc", "gtest-unittest-api_test.cc",
"googletest/src/gtest-all.cc", "googletest/src/gtest-all.cc",
"gtest_all_test.cc", "gtest_all_test.cc",
"gtest-death-test_ex_test.cc", "gtest-death-test_ex_test.cc",
"gtest-listener_test.cc", "gtest-listener_test.cc",
"gtest-unittest-api_test.cc", "gtest-unittest-api_test.cc",
"googletest-param-test-test.cc", "googletest-param-test-test.cc",
"googletest-param-test2-test.cc",
"googletest-catch-exceptions-test_.cc", "googletest-catch-exceptions-test_.cc",
"googletest-color-test_.cc", "googletest-color-test_.cc",
"googletest-env-var-test_.cc", "googletest-env-var-test_.cc",
"googletest-failfast-unittest_.cc",
"googletest-filter-unittest_.cc", "googletest-filter-unittest_.cc",
"googletest-global-environment-unittest_.cc",
"googletest-break-on-failure-unittest_.cc", "googletest-break-on-failure-unittest_.cc",
"googletest-listener-test.cc", "googletest-listener-test.cc",
"googletest-output-test_.cc", "googletest-output-test_.cc",
"googletest-list-tests-unittest_.cc", "googletest-list-tests-unittest_.cc",
"googletest-shuffle-test_.cc", "googletest-shuffle-test_.cc",
"googletest-setuptestsuite-test_.cc",
"googletest-uninitialized-test_.cc", "googletest-uninitialized-test_.cc",
"googletest-death-test_ex_test.cc", "googletest-death-test_ex_test.cc",
"googletest-param-test-test", "googletest-param-test-test",
"googletest-throw-on-failure-test_.cc", "googletest-throw-on-failure-test_.cc",
"googletest-param-test-invalid-name1-test_.cc", "googletest-param-test-invalid-name1-test_.cc",
"googletest-param-test-invalid-name2-test_.cc", "googletest-param-test-invalid-name2-test_.cc",
], ],
) + select({ ) + select({
"//:windows": [], "//:windows": [],
"//conditions:default": [], "//conditions:default": [],
}), }),
copts = select({ copts = select({
"//:windows": ["-DGTEST_USE_OWN_TR1_TUPLE=0"], "//:windows": ["-DGTEST_USE_OWN_TR1_TUPLE=0"],
"//conditions:default": ["-DGTEST_USE_OWN_TR1_TUPLE=1"], "//conditions:default": ["-DGTEST_USE_OWN_TR1_TUPLE=1"],
}) + select({
# Ensure MSVC treats source files as UTF-8 encoded.
"//:msvc_compiler": ["-utf-8"],
"//conditions:default": [],
}), }),
includes = [ includes = [
"googletest", "googletest",
"googletest/include", "googletest/include",
"googletest/include/internal", "googletest/include/internal",
"googletest/test", "googletest/test",
], ],
linkopts = select({ linkopts = select({
"//:windows": [], "//:windows": [],
"//conditions:default": ["-pthread"], "//conditions:default": ["-pthread"],
skipping to change at line 145 skipping to change at line 153
"googletest-param-test-test.h", "googletest-param-test-test.h",
"googletest-param-test2-test.cc", "googletest-param-test2-test.cc",
], ],
deps = ["//:gtest"], deps = ["//:gtest"],
) )
cc_test( cc_test(
name = "gtest_unittest", name = "gtest_unittest",
size = "small", size = "small",
srcs = ["gtest_unittest.cc"], srcs = ["gtest_unittest.cc"],
args = ["--heap_check=strict"],
shard_count = 2, shard_count = 2,
deps = ["//:gtest_main"], deps = ["//:gtest_main"],
) )
# Py tests # Py tests
py_library( py_library(
name = "gtest_test_utils", name = "gtest_test_utils",
testonly = 1, testonly = 1,
srcs = ["gtest_test_utils.py"], srcs = ["gtest_test_utils.py"],
imports = ["."],
) )
cc_binary( cc_binary(
name = "gtest_help_test_", name = "gtest_help_test_",
testonly = 1, testonly = 1,
srcs = ["gtest_help_test_.cc"], srcs = ["gtest_help_test_.cc"],
deps = ["//:gtest_main"], deps = ["//:gtest_main"],
) )
py_test( py_test(
skipping to change at line 226 skipping to change at line 234
py_test( py_test(
name = "googletest-env-var-test", name = "googletest-env-var-test",
size = "medium", size = "medium",
srcs = ["googletest-env-var-test.py"], srcs = ["googletest-env-var-test.py"],
data = [":googletest-env-var-test_"], data = [":googletest-env-var-test_"],
deps = [":gtest_test_utils"], deps = [":gtest_test_utils"],
) )
cc_binary( cc_binary(
name = "googletest-failfast-unittest_",
testonly = 1,
srcs = ["googletest-failfast-unittest_.cc"],
deps = ["//:gtest"],
)
py_test(
name = "googletest-failfast-unittest",
size = "medium",
srcs = ["googletest-failfast-unittest.py"],
data = [":googletest-failfast-unittest_"],
deps = [":gtest_test_utils"],
)
cc_binary(
name = "googletest-filter-unittest_", name = "googletest-filter-unittest_",
testonly = 1, testonly = 1,
srcs = ["googletest-filter-unittest_.cc"], srcs = ["googletest-filter-unittest_.cc"],
deps = ["//:gtest"], deps = ["//:gtest"],
) )
py_test( py_test(
name = "googletest-filter-unittest", name = "googletest-filter-unittest",
size = "medium", size = "medium",
srcs = ["googletest-filter-unittest.py"], srcs = ["googletest-filter-unittest.py"],
data = [":googletest-filter-unittest_"], data = [":googletest-filter-unittest_"],
deps = [":gtest_test_utils"], deps = [":gtest_test_utils"],
) )
cc_binary( cc_binary(
name = "googletest-global-environment-unittest_",
testonly = 1,
srcs = ["googletest-global-environment-unittest_.cc"],
deps = ["//:gtest"],
)
py_test(
name = "googletest-global-environment-unittest",
size = "medium",
srcs = ["googletest-global-environment-unittest.py"],
data = [":googletest-global-environment-unittest_"],
deps = [":gtest_test_utils"],
)
cc_binary(
name = "googletest-break-on-failure-unittest_", name = "googletest-break-on-failure-unittest_",
testonly = 1, testonly = 1,
srcs = ["googletest-break-on-failure-unittest_.cc"], srcs = ["googletest-break-on-failure-unittest_.cc"],
deps = ["//:gtest"], deps = ["//:gtest"],
) )
py_test( py_test(
name = "googletest-break-on-failure-unittest", name = "googletest-break-on-failure-unittest",
size = "small", size = "small",
srcs = ["googletest-break-on-failure-unittest.py"], srcs = ["googletest-break-on-failure-unittest.py"],
skipping to change at line 299 skipping to change at line 337
) )
cc_test( cc_test(
name = "gtest_skip_in_environment_setup_test", name = "gtest_skip_in_environment_setup_test",
size = "small", size = "small",
srcs = ["gtest_skip_in_environment_setup_test.cc"], srcs = ["gtest_skip_in_environment_setup_test.cc"],
deps = ["//:gtest_main"], deps = ["//:gtest_main"],
) )
py_test( py_test(
name = "gtest_skip_check_output_test",
size = "small",
srcs = ["gtest_skip_check_output_test.py"],
data = [":gtest_skip_test"],
deps = [":gtest_test_utils"],
)
py_test(
name = "gtest_skip_environment_check_output_test", name = "gtest_skip_environment_check_output_test",
size = "small", size = "small",
srcs = ["gtest_skip_environment_check_output_test.py"], srcs = ["gtest_skip_environment_check_output_test.py"],
data = [ data = [
":gtest_skip_in_environment_setup_test", ":gtest_skip_in_environment_setup_test",
], ],
deps = [":gtest_test_utils"], deps = [":gtest_test_utils"],
) )
py_test( py_test(
skipping to change at line 419 skipping to change at line 465
"gtest_xml_test_utils.py", "gtest_xml_test_utils.py",
], ],
data = [ data = [
":gtest_xml_outfile1_test_", ":gtest_xml_outfile1_test_",
":gtest_xml_outfile2_test_", ":gtest_xml_outfile2_test_",
], ],
deps = [":gtest_test_utils"], deps = [":gtest_test_utils"],
) )
cc_binary( cc_binary(
name = "googletest-setuptestsuite-test_",
testonly = 1,
srcs = ["googletest-setuptestsuite-test_.cc"],
deps = ["//:gtest_main"],
)
py_test(
name = "googletest-setuptestsuite-test",
size = "medium",
srcs = ["googletest-setuptestsuite-test.py"],
data = [":googletest-setuptestsuite-test_"],
deps = [":gtest_test_utils"],
)
cc_binary(
name = "googletest-uninitialized-test_", name = "googletest-uninitialized-test_",
testonly = 1, testonly = 1,
srcs = ["googletest-uninitialized-test_.cc"], srcs = ["googletest-uninitialized-test_.cc"],
deps = ["//:gtest"], deps = ["//:gtest"],
) )
py_test( py_test(
name = "googletest-uninitialized-test", name = "googletest-uninitialized-test",
size = "medium", size = "medium",
srcs = ["googletest-uninitialized-test.py"], srcs = ["googletest-uninitialized-test.py"],
skipping to change at line 512 skipping to change at line 573
testonly = 1, testonly = 1,
srcs = ["googletest-param-test-invalid-name2-test_.cc"], srcs = ["googletest-param-test-invalid-name2-test_.cc"],
deps = ["//:gtest"], deps = ["//:gtest"],
) )
py_test( py_test(
name = "googletest-param-test-invalid-name1-test", name = "googletest-param-test-invalid-name1-test",
size = "small", size = "small",
srcs = ["googletest-param-test-invalid-name1-test.py"], srcs = ["googletest-param-test-invalid-name1-test.py"],
data = [":googletest-param-test-invalid-name1-test_"], data = [":googletest-param-test-invalid-name1-test_"],
tags = [
"no_test_msvc2015",
"no_test_msvc2017",
],
deps = [":gtest_test_utils"], deps = [":gtest_test_utils"],
) )
py_test( py_test(
name = "googletest-param-test-invalid-name2-test", name = "googletest-param-test-invalid-name2-test",
size = "small", size = "small",
srcs = ["googletest-param-test-invalid-name2-test.py"], srcs = ["googletest-param-test-invalid-name2-test.py"],
data = [":googletest-param-test-invalid-name2-test_"], data = [":googletest-param-test-invalid-name2-test_"],
tags = [
"no_test_msvc2015",
"no_test_msvc2017",
],
deps = [":gtest_test_utils"], deps = [":gtest_test_utils"],
) )
 End of changes. 15 change blocks. 
3 lines changed or deleted 72 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)