aboutsummaryrefslogtreecommitdiff
path: root/tests/bcr/runfiles/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bcr/runfiles/BUILD.bazel')
-rw-r--r--tests/bcr/runfiles/BUILD.bazel9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/bcr/runfiles/BUILD.bazel b/tests/bcr/runfiles/BUILD.bazel
new file mode 100644
index 00000000..d86ff26e
--- /dev/null
+++ b/tests/bcr/runfiles/BUILD.bazel
@@ -0,0 +1,9 @@
+load("@my_rules_go//go:def.bzl", "go_test")
+
+go_test(
+ name = "runfiles_test",
+ srcs = ["runfiles_test.go"],
+ args = ["$(rlocationpath @other_module//:bar.txt)"],
+ data = ["@other_module//:bar.txt"],
+ deps = ["@my_rules_go//go/runfiles"],
+)