1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
def fruit_py_tests(srcs, data=[]):
for filename in srcs:
native.py_test(
name = filename[:-3],
srcs = [filename],
imports = ["."],
deps = [
"//third_party/fruit/tests:fruit_test_common",
],
data = data + [
"//third_party/fruit:fruit_headers",
"//third_party/fruit/tests:libfruit.so",
"//third_party/fruit/tests:test_headers_filegroup",
],
args = [
"-p",
"no:cacheprovider",
"-n",
"4",
],
)
|