Fix dependencies of some bazel tests

Change-Id: If864b37c08db73620c07a17174130024571a8d38
This commit is contained in:
Ray Milkey 2018-06-27 17:36:01 -07:00
parent 971fb7fd1f
commit 0250a0811e
6 changed files with 22 additions and 3 deletions

2
BUILD
View File

@ -1,5 +1,5 @@
load("//tools/build/bazel:generate_workspace.bzl", "ONOS_VERSION")
load(":modules.bzl", "APPS", "CORE", )
load(":modules.bzl", "APPS", "CORE")
filegroup(
name = "onos",

View File

@ -9,8 +9,12 @@ COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + [
"//apps/pce/bandwidthmgmt:onos-apps-pce-bandwidthmgmt",
]
TEST_DEPS = TEST_REST + [
"//incubator/api:onos-incubator-api-tests",
]
osgi_jar_with_tests(
test_deps = TEST_REST,
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)

View File

@ -24,4 +24,4 @@ onos_app(
included_bundles = BUNDLES,
title = "Default Drivers",
url = "http://onosproject.org",
)
)

View File

@ -7,6 +7,12 @@ COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + KRYO + [
"//apps/pcep-api:onos-apps-pcep-api",
]
TEST_DEPS = TEST_ADAPTERS + [
"//protocols/pcep/server/api:onos-protocols-pcep-server-api-tests",
"//incubator/api:onos-incubator-api-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)

View File

@ -10,6 +10,12 @@ COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + [
"//apps/optical-model:onos-apps-optical-model",
]
TEST_DEPS = TEST + [
"//protocols/pcep/server/api:onos-protocols-pcep-server-api-tests",
"//apps/pcep-api:onos-apps-pcep-api-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)

View File

@ -11,6 +11,9 @@ COMPILE_DEPS = CORE_DEPS + NETTY + [
TEST_DEPS = TEST_ADAPTERS + [
"@netty//jar",
"@netty_transport//jar",
"//protocols/pcep/server/api:onos-protocols-pcep-server-api-tests",
"//apps/pcep-api:onos-apps-pcep-api-tests",
"//incubator/api:onos-incubator-api-tests",
]
osgi_jar_with_tests(