summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2024-03-04 17:54:45 -0800
committerYifan Hong <elsk@google.com>2024-03-06 18:47:35 +0000
commite09d1c99f5990a15e94144d7eea3c3368e4f965c (patch)
tree72ddd3e693a6e5b3cd7076a8c5d9f554b56b6ef0
parent65fc1eef78eb0cd27e2c9eddbe3a7ef50e073b40 (diff)
downloadbuild-e09d1c99f5990a15e94144d7eea3c3368e4f965c.tar.gz
kleaf: Fix analysis test under --config=bzlmod.
Fix the following error: Error in analysis_test_transition: invalid transition output '@@[unknown repo '' requested from @@bazel_skylib~override]//build/kernel/kleaf:debug_modpost_warn': no repo visible as @ from repository '@@bazel_skylib~override' Test: TH Test: bazel test //build/kernel/kleaf:quick_tests --config=bzlmod Bug: 276493276 Change-Id: If028c9ebc25ec843d9fabcaf54abd41deb23f836
-rw-r--r--kleaf/tests/debug_test/debug_modpost_warn_test.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kleaf/tests/debug_test/debug_modpost_warn_test.bzl b/kleaf/tests/debug_test/debug_modpost_warn_test.bzl
index 44eadec..062882f 100644
--- a/kleaf/tests/debug_test/debug_modpost_warn_test.bzl
+++ b/kleaf/tests/debug_test/debug_modpost_warn_test.bzl
@@ -51,7 +51,7 @@ _modpost_warn_module_test = analysistest.make(
"is_ddk_test": attr.bool(),
},
config_settings = {
- "@//build/kernel/kleaf:debug_modpost_warn": True,
+ str(Label("//build/kernel/kleaf:debug_modpost_warn")): True,
},
)