summaryrefslogtreecommitdiff
path: root/tests/mappings/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mappings/BUILD')
-rw-r--r--tests/mappings/BUILD30
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/mappings/BUILD b/tests/mappings/BUILD
index 44752cb..fd3469b 100644
--- a/tests/mappings/BUILD
+++ b/tests/mappings/BUILD
@@ -13,31 +13,30 @@
# limitations under the License.
load(
- ":mappings_test.bzl",
- "manifest_golden_test",
- "mappings_analysis_tests",
- "mappings_unit_tests",
-)
-load(":mappings_external_repo_test.bzl", "mappings_external_repo_analysis_tests")
-load(
"//pkg:mappings.bzl",
"pkg_attributes",
- "pkg_filegroup",
"pkg_files",
"pkg_mkdirs",
"strip_prefix",
)
load("//tests/util:defs.bzl", "directory", "link_tree", "write_content_manifest")
-load("@rules_python//python:defs.bzl", "py_test")
+load(":mappings_external_repo_test.bzl", "mappings_external_repo_analysis_tests")
+load(
+ ":mappings_test.bzl",
+ "manifest_golden_test",
+ "mappings_analysis_tests",
+ "mappings_unit_tests",
+)
package(default_applicable_licenses = ["//:license"])
py_library(
name = "manifest_test_lib",
srcs = ["manifest_test_lib.py"],
+ imports = ["../.."],
srcs_version = "PY3",
deps = [
- "@bazel_tools//tools/python/runfiles",
+ "@rules_python//python/runfiles",
],
)
@@ -129,17 +128,18 @@ manifest_golden_test(
write_content_manifest(
name = "executable_manifest",
srcs = [
+ "mappings_test.bzl",
"//tests:an_executable",
],
include_runfiles = True,
)
alias(
- name = "executable_test_expected",
- actual = select({
- "@platforms//os:windows": "executable.manifest.windows.golden",
- "//conditions:default": "executable.manifest.golden",
- }),
+ name = "executable_test_expected",
+ actual = select({
+ "@platforms//os:windows": "executable.manifest.windows.golden",
+ "//conditions:default": "executable.manifest.golden",
+ }),
)
manifest_golden_test(