mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-16 18:02:05 +02:00
build file updates to support bazel 0.21
Change-Id: I79d3900fc8c14dbecff249cec139754115186352
This commit is contained in:
parent
4fcd5ddffb
commit
76c9bce47f
1
.bazelrc
1
.bazelrc
@ -1,5 +1,6 @@
|
||||
build --nouse_ijars
|
||||
build --experimental_strict_action_env
|
||||
build --incompatible_package_name_is_a_function=false
|
||||
test --test_summary=terse
|
||||
test --test_output=errors
|
||||
test --test_verbose_timeout_warnings
|
||||
|
@ -61,7 +61,7 @@ def generate_test_rules(
|
||||
if (test in flaky_tests) or ("flaky" in tags):
|
||||
flaky = 1
|
||||
java_class = _package_from_path(
|
||||
PACKAGE_NAME + "/" + _strip_right(test, ".java"),
|
||||
native.package_name() + "/" + _strip_right(test, ".java"),
|
||||
)
|
||||
package = java_class[:java_class.rfind(".")]
|
||||
native.java_test(
|
||||
|
Loading…
x
Reference in New Issue
Block a user