-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathBUILD
More file actions
46 lines (40 loc) · 684 Bytes
/
BUILD
File metadata and controls
46 lines (40 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
py_binary(
name = "sample",
srcs = ["sample.py"],
)
py_test(
name = "test_one",
srcs = ["test/test_one.py"],
deps = ["sample"],
)
py_test(
name = "test_two",
srcs = ["test/test_two.py"],
deps = ["sample"],
)
py_test(
name = "test_three",
srcs = ["test/test_three.py"],
deps = ["sample"],
)
test_suite(
name = "all_tests",
tests = [
"test_one",
"test_two",
"test_three",
],
)
py_library(
name = "test_lib",
srcs = glob(["test/*.py"]),
deps = [
"sample",
],
)
py_binary(
name = "run_tests",
main = "test/run.py",
srcs = ["test/run.py"],
deps = ["test_lib"],
)