diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-06-14 20:56:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 20:56:27 (GMT) |
commit | ba96d0b1161f540656efdaed035b3c062b60e006 (patch) | |
tree | f038bb048175150c0cd0833de4d551b1bc688c5b /googletest/test/BUILD.bazel | |
parent | dea79290af988a71b9f566550237266a8f1e21a7 (diff) | |
parent | 0563b52d3acc5661792cf1f8c78661a050afc883 (diff) | |
download | googletest-ba96d0b1161f540656efdaed035b3c062b60e006.zip googletest-ba96d0b1161f540656efdaed035b3c062b60e006.tar.gz googletest-ba96d0b1161f540656efdaed035b3c062b60e006.tar.bz2 |
Merge pull request #1622 from rohanjoyce/bazel_test_filter
Support bazel test filtering
Diffstat (limited to 'googletest/test/BUILD.bazel')
-rw-r--r-- | googletest/test/BUILD.bazel | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/googletest/test/BUILD.bazel b/googletest/test/BUILD.bazel index 6ea18ec..365a855 100644 --- a/googletest/test/BUILD.bazel +++ b/googletest/test/BUILD.bazel @@ -378,3 +378,19 @@ py_test( data = [":gtest_uninitialized_test_"], deps = [":gtest_test_utils"], ) + +cc_binary( + name = "gtest_testbridge_test_", + testonly = 1, + srcs = ["gtest_testbridge_test_.cc"], + deps = ["//:gtest_main"], +) + +# Tests that filtering via testbridge works +py_test( + name = "gtest_testbridge_test", + size = "small", + srcs = ["gtest_testbridge_test.py"], + data = [":gtest_testbridge_test_"], + deps = [":gtest_test_utils"], +) |