forked from google/xctestrunner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
44 lines (39 loc) · 965 Bytes
/
BUILD
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
package(default_visibility = ["//visibility:public"])
load("@subpar//:subpar.bzl", "par_binary")
py_library(
name = "shared",
srcs = glob(["shared/*.py"]),
)
py_library(
name = "simulator",
srcs = glob(["simulator_control/*.py"]),
deps = [
":shared",
],
)
par_binary(
name = "ios_test_runner",
srcs = ["__init__.py"] + glob(
["test_runner/*.py"],
),
compiler_args = [
"--interpreter",
"/usr/bin/python3",
],
main = "test_runner/ios_test_runner.py",
python_version = "PY3",
deps = [
":shared",
":simulator",
],
)
# Consumed by bazel tests.
filegroup(
name = "for_bazel_tests",
testonly = 1,
srcs = glob(["**/*"]),
# Exposed publicly just so other rules can use this if they set up
# integration tests that need to copy all the support files into
# a temporary workspace for the tests.
visibility = ["//visibility:public"],
)