diff options
author | kmarshall <kmarshall@chromium.org> | 2015-10-16 10:45:08 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-16 17:45:51 +0000 |
commit | a9387eb074516d0593db97473fafd79e2c35c734 (patch) | |
tree | ed0ad88f199c0a0d564839375e9184775c1d37a7 /blimp/net | |
parent | 3627ecac5d720b442e5ee27829d064fdf55c8486 (diff) | |
download | chromium_src-a9387eb074516d0593db97473fafd79e2c35c734.zip chromium_src-a9387eb074516d0593db97473fafd79e2c35c734.tar.gz chromium_src-a9387eb074516d0593db97473fafd79e2c35c734.tar.bz2 |
Create "blimp_unittests" test target which will run all Blimp unittests.
This will make it easy to add additional tests to the buildbot waterfall without having to modify the buildbot configs.
Change "blimp_net_tests" from a test() to a sourceset().
Add "blimp_unittests" to "blimp_tests" group.
Add "blimp" (non-test) to Buildbot compile target list.
R=nyquist@chromium.org,dpranke@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1410523002
Cr-Commit-Position: refs/heads/master@{#354538}
Diffstat (limited to 'blimp/net')
-rw-r--r-- | blimp/net/BUILD.gn | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/blimp/net/BUILD.gn b/blimp/net/BUILD.gn index 05a1ff3..e69d224 100644 --- a/blimp/net/BUILD.gn +++ b/blimp/net/BUILD.gn @@ -2,8 +2,6 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import("//testing/test.gni") - component("blimp_net") { sources = [ "blimp_client_session.cc", @@ -23,7 +21,9 @@ component("blimp_net") { ] } -test("blimp_net_tests") { +source_set("unit_tests") { + testonly = true + sources = [ "blimp_message_dispatcher_unittest.cc", ] @@ -39,12 +39,3 @@ test("blimp_net_tests") { "//testing/gtest", ] } - -# TODO(GYP): Delete this after we've converted everything to GN. -# # The _run targets exist only for compatibility w/ GYP. -group("blimp_net_tests_run") { - testonly = true - deps = [ - ":blimp_net_tests", - ] -} |