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 <ynovikov@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@google.com>
diff --git a/infra/specs/ci.json b/infra/specs/ci.json
index efd87a9..e4ecc6f 100644
--- a/infra/specs/ci.json
+++ b/infra/specs/ci.json
@@ -1,7 +1,31 @@
{
"AAAAA1 AUTOGENERATED FILE DO NOT EDIT": {},
"AAAAA2 See generate_buildbot_json.py to make changes": {},
- "dawn-linux-x64-fuzz-dbg": {},
+ "dawn-linux-x64-fuzz-dbg": {
+ "isolated_scripts": [
+ {
+ "args": [
+ "fuzz",
+ "-check",
+ "-ir",
+ "--append-cwd-as-build"
+ ],
+ "name": "tint_ir_fuzzer_corpus_tests",
+ "test": "fuzzer_corpus_tests",
+ "test_id_prefix": "ninja://src/tint:fuzzer_corpus_tests/"
+ },
+ {
+ "args": [
+ "fuzz",
+ "-check",
+ "--append-cwd-as-build"
+ ],
+ "name": "tint_wgsl_fuzzer_corpus_tests",
+ "test": "fuzzer_corpus_tests",
+ "test_id_prefix": "ninja://src/tint:fuzzer_corpus_tests/"
+ }
+ ]
+ },
"dawn-linux-x64-fuzz-rel": {
"isolated_scripts": [
{
@@ -27,7 +51,140 @@
}
]
},
- "dawn-linux-x64-sws-dbg": {},
+ "dawn-linux-x64-sws-dbg": {
+ "gtest_tests": [
+ {
+ "args": [
+ "--backend=opengles",
+ "--use-angle=swiftshader",
+ "--enable-toggles=gl_force_es_31_and_no_extensions"
+ ],
+ "merge": {
+ "script": "//testing/merge_scripts/noop_merge.py"
+ },
+ "name": "dawn_end2end_swangle_tests",
+ "resultdb": {
+ "result_format": "gtest_json"
+ },
+ "swarming": {
+ "containment_type": "AUTO",
+ "dimensions": {
+ "cpu": "x86-64",
+ "gpu": "none",
+ "os": "Ubuntu-22.04",
+ "pool": "chromium.tests.gpu"
+ },
+ "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
+ },
+ "test": "dawn_end2end_tests",
+ "test_id_prefix": "ninja://src/dawn/tests:dawn_end2end_tests/"
+ },
+ {
+ "args": [
+ "--adapter-vendor-id=0x1AE0"
+ ],
+ "merge": {
+ "script": "//testing/merge_scripts/noop_merge.py"
+ },
+ "name": "dawn_end2end_sws_tests",
+ "resultdb": {
+ "result_format": "gtest_json"
+ },
+ "swarming": {
+ "containment_type": "AUTO",
+ "dimensions": {
+ "cpu": "x86-64",
+ "gpu": "none",
+ "os": "Ubuntu-22.04",
+ "pool": "chromium.tests.gpu"
+ },
+ "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
+ },
+ "test": "dawn_end2end_tests",
+ "test_id_prefix": "ninja://src/dawn/tests:dawn_end2end_tests/"
+ },
+ {
+ "merge": {
+ "script": "//testing/merge_scripts/noop_merge.py"
+ },
+ "name": "dawn_unittests",
+ "resultdb": {
+ "result_format": "gtest_json"
+ },
+ "swarming": {
+ "containment_type": "AUTO",
+ "dimensions": {
+ "cpu": "x86-64",
+ "gpu": "none",
+ "os": "Ubuntu-22.04",
+ "pool": "chromium.tests.gpu"
+ },
+ "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
+ },
+ "test": "dawn_unittests",
+ "test_id_prefix": "ninja://src/dawn/tests:dawn_unittests/"
+ },
+ {
+ "args": [
+ "--use-wire"
+ ],
+ "merge": {
+ "script": "//testing/merge_scripts/noop_merge.py"
+ },
+ "name": "dawn_wire_unittests",
+ "resultdb": {
+ "result_format": "gtest_json"
+ },
+ "swarming": {
+ "containment_type": "AUTO",
+ "dimensions": {
+ "cpu": "x86-64",
+ "gpu": "none",
+ "os": "Ubuntu-22.04",
+ "pool": "chromium.tests.gpu"
+ },
+ "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
+ },
+ "test": "dawn_unittests",
+ "test_id_prefix": "ninja://src/dawn/tests:dawn_unittests/"
+ },
+ {
+ "merge": {
+ "script": "//testing/merge_scripts/noop_merge.py"
+ },
+ "name": "tint_unittests",
+ "resultdb": {
+ "result_format": "gtest_json"
+ },
+ "swarming": {
+ "containment_type": "AUTO",
+ "dimensions": {
+ "cpu": "x86-64",
+ "gpu": "none",
+ "os": "Ubuntu-22.04",
+ "pool": "chromium.tests.gpu"
+ },
+ "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
+ },
+ "test": "tint_unittests",
+ "test_id_prefix": "ninja://src/tint/cmd/test:tint_unittests/"
+ }
+ ],
+ "isolated_scripts": [
+ {
+ "args": [
+ "-backend",
+ "vulkan",
+ "-adapter",
+ "SwiftShader",
+ "webgpu:api,operation,adapter,requestDevice:default:*"
+ ],
+ "name": "dawn_node_sws_cts",
+ "test": "dawn_node_cts",
+ "test_id_prefix": "ninja://scripts/dawn_node_cts:dawn_node_cts/"
+ }
+ ]
+ },
"dawn-linux-x64-sws-rel": {
"gtest_tests": [
{
diff --git a/infra/specs/waterfalls.pyl b/infra/specs/waterfalls.pyl
index 7b30836..16e76b9 100644
--- a/infra/specs/waterfalls.pyl
+++ b/infra/specs/waterfalls.pyl
@@ -14,7 +14,9 @@
'linux-jammy',
'x86-64',
],
- 'test_suites': {},
+ 'test_suites': {
+ 'isolated_scripts': 'tint_fuzzer_corpus_tests',
+ },
},
'dawn-linux-x64-fuzz-rel': {
'os_type': 'linux',
@@ -36,6 +38,10 @@
'linux-jammy',
'x86-64',
],
+ 'test_suites': {
+ 'gtest_tests': 'swiftshader_gtests',
+ 'isolated_scripts': 'dawn_node_cts_sws_tests',
+ },
},
'dawn-linux-x64-sws-rel': {
'os_type': 'linux',