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:libtest_headers_copy.so", 16 "//third_party/fruit/tests:test_headers_filegroup", 17 ], 18 shard_count = 32, 19 ) 20