[ray_client] Integrate with test_basic, test_basic_2 and test_actor (#12964)

This commit is contained in:
Barak Michener
2020-12-20 14:54:18 -08:00
committed by GitHub
parent bf6577c8f4
commit 7ab9164f1b
21 changed files with 375 additions and 174 deletions
+4 -2
View File
@@ -1,12 +1,14 @@
# py_test_module_list creates a py_test target for each
# Python file in `files`
def py_test_module_list(files, size, deps, extra_srcs, **kwargs):
def py_test_module_list(files, size, deps, extra_srcs, name_suffix="", **kwargs):
for file in files:
# remove .py
name = file[:-3]
name = file[:-3] + name_suffix
main = file
native.py_test(
name = name,
size = size,
main = file,
srcs = extra_srcs + [file],
**kwargs
)