blob: add56b3bd06888a19852669737199174ce9c34b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
load("@rules_python//python:defs.bzl", "py_test")
py_test(
name = "runfiles_test",
srcs = ["runfiles_test.py"],
data = [
"data/data.txt",
"@our_other_module//other_module/pkg:data/data.txt",
],
env = {
"DATA_RLOCATIONPATH": "$(rlocationpath data/data.txt)",
"OTHER_MODULE_DATA_RLOCATIONPATH": "$(rlocationpath @our_other_module//other_module/pkg:data/data.txt)",
},
deps = [
"@our_other_module//other_module/pkg:lib",
"@rules_python//python/runfiles",
],
)
|