mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-12-10 11:51:33 +01: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 --nouse_ijars
|
||||||
build --experimental_strict_action_env
|
build --experimental_strict_action_env
|
||||||
|
build --incompatible_package_name_is_a_function=false
|
||||||
test --test_summary=terse
|
test --test_summary=terse
|
||||||
test --test_output=errors
|
test --test_output=errors
|
||||||
test --test_verbose_timeout_warnings
|
test --test_verbose_timeout_warnings
|
||||||
|
|||||||
@ -61,7 +61,7 @@ def generate_test_rules(
|
|||||||
if (test in flaky_tests) or ("flaky" in tags):
|
if (test in flaky_tests) or ("flaky" in tags):
|
||||||
flaky = 1
|
flaky = 1
|
||||||
java_class = _package_from_path(
|
java_class = _package_from_path(
|
||||||
PACKAGE_NAME + "/" + _strip_right(test, ".java"),
|
native.package_name() + "/" + _strip_right(test, ".java"),
|
||||||
)
|
)
|
||||||
package = java_class[:java_class.rfind(".")]
|
package = java_class[:java_class.rfind(".")]
|
||||||
native.java_test(
|
native.java_test(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user