Skip to content

Commit cb93f13

Browse files
bsheedy-workDawn LUCI CQ
authored andcommitted
Enable gn_v2 Linux/x64/Debug/SwS tests
Enables tests on dawn-linux-x64-fuzz-dbg and dawn-linux-x64-sws-dbg that are equivalent to the tests on linux-clang-dbg-x64. Bug: 385317083 Change-Id: I566f80bf0fcd607c05e1a724805ae6ab83c157b1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/262134 Commit-Queue: Yuly Novikov <[email protected]> Reviewed-by: Yuly Novikov <[email protected]> Auto-Submit: Brian Sheedy <[email protected]>
1 parent 135971c commit cb93f13

File tree

2 files changed

+166
-3
lines changed

2 files changed

+166
-3
lines changed

infra/specs/ci.json

Lines changed: 159 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,31 @@
11
{
22
"AAAAA1 AUTOGENERATED FILE DO NOT EDIT": {},
33
"AAAAA2 See generate_buildbot_json.py to make changes": {},
4-
"dawn-linux-x64-fuzz-dbg": {},
4+
"dawn-linux-x64-fuzz-dbg": {
5+
"isolated_scripts": [
6+
{
7+
"args": [
8+
"fuzz",
9+
"-check",
10+
"-ir",
11+
"--append-cwd-as-build"
12+
],
13+
"name": "tint_ir_fuzzer_corpus_tests",
14+
"test": "fuzzer_corpus_tests",
15+
"test_id_prefix": "ninja://src/tint:fuzzer_corpus_tests/"
16+
},
17+
{
18+
"args": [
19+
"fuzz",
20+
"-check",
21+
"--append-cwd-as-build"
22+
],
23+
"name": "tint_wgsl_fuzzer_corpus_tests",
24+
"test": "fuzzer_corpus_tests",
25+
"test_id_prefix": "ninja://src/tint:fuzzer_corpus_tests/"
26+
}
27+
]
28+
},
529
"dawn-linux-x64-fuzz-rel": {
630
"isolated_scripts": [
731
{
@@ -27,7 +51,140 @@
2751
}
2852
]
2953
},
30-
"dawn-linux-x64-sws-dbg": {},
54+
"dawn-linux-x64-sws-dbg": {
55+
"gtest_tests": [
56+
{
57+
"args": [
58+
"--backend=opengles",
59+
"--use-angle=swiftshader",
60+
"--enable-toggles=gl_force_es_31_and_no_extensions"
61+
],
62+
"merge": {
63+
"script": "//testing/merge_scripts/noop_merge.py"
64+
},
65+
"name": "dawn_end2end_swangle_tests",
66+
"resultdb": {
67+
"result_format": "gtest_json"
68+
},
69+
"swarming": {
70+
"containment_type": "AUTO",
71+
"dimensions": {
72+
"cpu": "x86-64",
73+
"gpu": "none",
74+
"os": "Ubuntu-22.04",
75+
"pool": "chromium.tests.gpu"
76+
},
77+
"service_account": "[email protected]"
78+
},
79+
"test": "dawn_end2end_tests",
80+
"test_id_prefix": "ninja://src/dawn/tests:dawn_end2end_tests/"
81+
},
82+
{
83+
"args": [
84+
"--adapter-vendor-id=0x1AE0"
85+
],
86+
"merge": {
87+
"script": "//testing/merge_scripts/noop_merge.py"
88+
},
89+
"name": "dawn_end2end_sws_tests",
90+
"resultdb": {
91+
"result_format": "gtest_json"
92+
},
93+
"swarming": {
94+
"containment_type": "AUTO",
95+
"dimensions": {
96+
"cpu": "x86-64",
97+
"gpu": "none",
98+
"os": "Ubuntu-22.04",
99+
"pool": "chromium.tests.gpu"
100+
},
101+
"service_account": "[email protected]"
102+
},
103+
"test": "dawn_end2end_tests",
104+
"test_id_prefix": "ninja://src/dawn/tests:dawn_end2end_tests/"
105+
},
106+
{
107+
"merge": {
108+
"script": "//testing/merge_scripts/noop_merge.py"
109+
},
110+
"name": "dawn_unittests",
111+
"resultdb": {
112+
"result_format": "gtest_json"
113+
},
114+
"swarming": {
115+
"containment_type": "AUTO",
116+
"dimensions": {
117+
"cpu": "x86-64",
118+
"gpu": "none",
119+
"os": "Ubuntu-22.04",
120+
"pool": "chromium.tests.gpu"
121+
},
122+
"service_account": "[email protected]"
123+
},
124+
"test": "dawn_unittests",
125+
"test_id_prefix": "ninja://src/dawn/tests:dawn_unittests/"
126+
},
127+
{
128+
"args": [
129+
"--use-wire"
130+
],
131+
"merge": {
132+
"script": "//testing/merge_scripts/noop_merge.py"
133+
},
134+
"name": "dawn_wire_unittests",
135+
"resultdb": {
136+
"result_format": "gtest_json"
137+
},
138+
"swarming": {
139+
"containment_type": "AUTO",
140+
"dimensions": {
141+
"cpu": "x86-64",
142+
"gpu": "none",
143+
"os": "Ubuntu-22.04",
144+
"pool": "chromium.tests.gpu"
145+
},
146+
"service_account": "[email protected]"
147+
},
148+
"test": "dawn_unittests",
149+
"test_id_prefix": "ninja://src/dawn/tests:dawn_unittests/"
150+
},
151+
{
152+
"merge": {
153+
"script": "//testing/merge_scripts/noop_merge.py"
154+
},
155+
"name": "tint_unittests",
156+
"resultdb": {
157+
"result_format": "gtest_json"
158+
},
159+
"swarming": {
160+
"containment_type": "AUTO",
161+
"dimensions": {
162+
"cpu": "x86-64",
163+
"gpu": "none",
164+
"os": "Ubuntu-22.04",
165+
"pool": "chromium.tests.gpu"
166+
},
167+
"service_account": "[email protected]"
168+
},
169+
"test": "tint_unittests",
170+
"test_id_prefix": "ninja://src/tint/cmd/test:tint_unittests/"
171+
}
172+
],
173+
"isolated_scripts": [
174+
{
175+
"args": [
176+
"-backend",
177+
"vulkan",
178+
"-adapter",
179+
"SwiftShader",
180+
"webgpu:api,operation,adapter,requestDevice:default:*"
181+
],
182+
"name": "dawn_node_sws_cts",
183+
"test": "dawn_node_cts",
184+
"test_id_prefix": "ninja://scripts/dawn_node_cts:dawn_node_cts/"
185+
}
186+
]
187+
},
31188
"dawn-linux-x64-sws-rel": {
32189
"gtest_tests": [
33190
{

infra/specs/waterfalls.pyl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
'linux-jammy',
1515
'x86-64',
1616
],
17-
'test_suites': {},
17+
'test_suites': {
18+
'isolated_scripts': 'tint_fuzzer_corpus_tests',
19+
},
1820
},
1921
'dawn-linux-x64-fuzz-rel': {
2022
'os_type': 'linux',
@@ -36,6 +38,10 @@
3638
'linux-jammy',
3739
'x86-64',
3840
],
41+
'test_suites': {
42+
'gtest_tests': 'swiftshader_gtests',
43+
'isolated_scripts': 'dawn_node_cts_sws_tests',
44+
},
3945
},
4046
'dawn-linux-x64-sws-rel': {
4147
'os_type': 'linux',

0 commit comments

Comments
 (0)