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