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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
{ "tested just":
{ "type": ["@", "rules", "CC", "install-with-deps"]
, "skip-debug-stage": ["yes"]
, "targets": [["@", "src", "", "just"]]
}
, "tool-under-test":
{ "type": "install"
, "dirs": [["tested just", "."]]
, "files": {"bin/tool-under-test": ["@", "src", "", "just"]}
}
, "tested just-mr":
{ "type": ["@", "rules", "CC", "install-with-deps"]
, "skip-debug-stage": ["yes"]
, "targets": [["@", "src", "", "just-mr"]]
}
, "mr-tool-under-test":
{ "type": "install"
, "arguments_config": ["TEST_BOOTSTRAP_JUST_MR"]
, "dirs":
{ "type": "if"
, "cond": {"type": "var", "name": "TEST_BOOTSTRAP_JUST_MR"}
, "then": []
, "else": [["tested just-mr", "."]]
}
, "files":
{ "bin/mr-tool-under-test":
{ "type": "if"
, "cond": {"type": "var", "name": "TEST_BOOTSTRAP_JUST_MR"}
, "then": ["@", "src", "", "bin/just-mr.py"]
, "else": ["@", "src", "", "just-mr"]
}
}
}
, "catch-main":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["catch-main"]
, "srcs": ["main.cpp"]
, "deps":
[ ["@", "catch2", "", "catch2"]
, ["@", "src", "src/buildtool/file_system", "git_context"]
, ["@", "src", "src/buildtool/storage", "config"]
, ["@", "src", "src/buildtool/storage", "file_chunker"]
, ["utils", "log_config"]
, ["utils", "test_env"]
]
, "stage": ["test"]
}
, "TESTS":
{ "type": ["@", "rules", "test", "suite"]
, "arguments_config": ["DROP_LARGE_TESTS"]
, "deps":
{ "type": "++"
, "$1":
[ [ ["./", "buildtool", "TESTS"]
, ["./", "utils", "TESTS"]
, ["./", "end-to-end", "TESTS"]
, ["./", "other_tools", "TESTS"]
]
, { "type": "if"
, "cond": {"type": "var", "name": "DROP_LARGE_TESTS"}
, "then": []
, "else": ["bootstrap-test"]
}
]
}
}
, "ALL":
{ "type": "configure"
, "arguments_config":
["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH", "TEST_BOOTSTRAP_JUST_MR"]
, "tainted": ["test"]
, "target": "TESTS"
, "config":
{ "type": "let*"
, "bindings":
[ ["OS", {"type": "var", "name": "OS", "default": "linux"}]
, ["ARCH", {"type": "var", "name": "ARCH", "default": "x86_64"}]
, [ "HOST_ARCH"
, { "type": "var"
, "name": "HOST_ARCH"
, "default": {"type": "var", "name": "ARCH"}
}
]
, [ "TARGET_ARCH"
, { "type": "var"
, "name": "TARGET_ARCH"
, "default": {"type": "var", "name": "ARCH"}
}
]
]
, "body":
{ "type": "env"
, "vars":
["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH", "TEST_BOOTSTRAP_JUST_MR"]
}
}
}
, "bootstrap-test":
{ "type": "configure"
, "tainted": ["test"]
, "target": ["./", "bootstrap", "TESTS"]
, "arguments_config": ["TIMEOUT_SCALE"]
, "config":
{ "type": "singleton_map"
, "key": "TIMEOUT_SCALE"
, "value":
{ "type": "*"
, "$1": [40, {"type": "var", "name": "TIMEOUT_SCALE", "default": 1.0}]
}
}
}
, "test-deps-headers":
{ "type": ["@", "rules", "CC", "install-with-deps"]
, "hdrs-only": ["yes"]
, "targets": [["@", "catch2", "", "catch2"]]
}
, "just-ext-hdrs (unconfigured)":
{ "type": "install"
, "dirs":
[[["@", "src", "", "just-ext-hdrs"], "."], ["test-deps-headers", "."]]
}
, "just-ext-hdrs":
{ "type": "configure"
, "arguments_config": ["OS", "ARCH"]
, "target": "just-ext-hdrs (unconfigured)"
, "config":
{ "type": "let*"
, "bindings":
[ ["OS", {"type": "var", "name": "OS", "default": "linux"}]
, ["ARCH", {"type": "var", "name": "ARCH", "default": "x86_64"}]
]
, "body": {"type": "env", "vars": ["OS", "ARCH"]}
}
}
}
|