Bazel: Fix testonly values in BUILD and .bzl files
According to the documentation [1], the expected values for testonly are True and False. Replace all the current usages of "1" with "True". [1] https://docs.bazel.build/versions/master/be/common-definitions.html Change-Id: I89417f6f9d56e126a6b05edeaaa946934799ab23
This commit is contained in:
@@ -4,7 +4,7 @@ ABSTRACT_QUERY_TEST = ["AbstractQueryAccountsTest.java"]
|
||||
|
||||
java_library(
|
||||
name = "abstract_query_tests",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = ABSTRACT_QUERY_TEST,
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
||||
@@ -4,7 +4,7 @@ ABSTRACT_QUERY_TEST = ["AbstractQueryChangesTest.java"]
|
||||
|
||||
java_library(
|
||||
name = "abstract_query_tests",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = ABSTRACT_QUERY_TEST,
|
||||
visibility = ["//visibility:public"],
|
||||
runtime_deps = ["//prolog:gerrit-prolog-common"],
|
||||
|
||||
@@ -4,7 +4,7 @@ ABSTRACT_QUERY_TEST = ["AbstractQueryGroupsTest.java"]
|
||||
|
||||
java_library(
|
||||
name = "abstract_query_tests",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = ABSTRACT_QUERY_TEST,
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
||||
@@ -4,7 +4,7 @@ ABSTRACT_QUERY_TEST = ["AbstractQueryProjectsTest.java"]
|
||||
|
||||
java_library(
|
||||
name = "abstract_query_tests",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = ABSTRACT_QUERY_TEST,
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
||||
Reference in New Issue
Block a user