-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathBUILD
More file actions
63 lines (58 loc) · 1.61 KB
/
Copy pathBUILD
File metadata and controls
63 lines (58 loc) · 1.61 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
load("@aspect_rules_py//py:defs.bzl", "py_binary", "py_library", "py_test")
load("@simulated_tests_deps//:requirements.bzl", "requirement")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "example_play",
srcs = [
"example_play.cpp",
"example_play_fsm.cpp",
],
hdrs = [
"example_play.h",
"example_play_fsm.h",
],
deps = [
"//shared:constants",
"//software/ai/hl/stp/play",
"//software/ai/hl/stp/tactic/move:move_tactic",
"//software/logger",
"//software/util/generic_factory",
],
alwayslink = True,
)
cc_test(
name = "example_play_cpp_test",
srcs = ["example_play_test.cpp"],
deps = [
"//shared/test_util:tbots_gtest_main",
"//software/ai/hl/stp/play/example:example_play",
"//software/simulated_tests:simulated_er_force_sim_play_test_fixture",
"//software/simulated_tests/cpp_validation:validation_function",
"//software/test_util",
"//software/time:duration",
"//software/world",
],
)
cc_test(
name = "example_play_fsm_test",
srcs = ["example_play_fsm_test.cpp"],
deps = [
":example_play",
"//shared/test_util:tbots_gtest_main",
"//software/test_util",
],
)
py_test(
name = "example_play_test",
srcs = ["example_play_test.py"],
package_collisions = "ignore",
# TODO (#2619) Remove tag to run in parallel
tags = [
"exclusive",
],
deps = [
"//software:conftest",
"//software/simulated_tests/validation:validations",
requirement("pytest"),
],
)