From b48fbadd4cc9a26da6de32e7d2fce5e4da55f9fa Mon Sep 17 00:00:00 2001 From: Lan Yao <111819456+lyao-77@users.noreply.github.com> Date: Mon, 15 May 2023 00:23:43 -0700 Subject: [PATCH] inherit tag for java_test_lib (#179) when we add `no-tag` to ignore linter checks for all test code, it only applies to `test` target. We need to make the expanded `java_test_lib` target inherit this behavior as well. --- java/private/create_jvm_test_suite.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/java/private/create_jvm_test_suite.bzl b/java/private/create_jvm_test_suite.bzl index 0599e594..04511590 100644 --- a/java/private/create_jvm_test_suite.bzl +++ b/java/private/create_jvm_test_suite.bzl @@ -90,6 +90,7 @@ def create_jvm_test_suite( srcs = nontest_srcs, testonly = True, visibility = visibility, + tags = tags, **library_attrs ) if not _contains_label(deps or [], lib_dep_label):