chore(cts): Enable test fixed by objc2 (#8950)

Closes #7357
This commit is contained in:
Andy Leiserson authored and GitHub committed 2026-01-28 07:56:16 -08:00
1 parent 66f95269b5
commit 7e5f016ca7
3 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -238,7 +238,7 @@ const requestDevice = webgpu.GPUAdapter.prototype.requestDevice;
webgpu.GPUAdapter.prototype.requestDevice = function(desc) {
return requestDevice.call(this, desc).then((device) => {
device.onuncapturederror = (event) => {
core.print("cts_runner caught WebGPU error:" + event.error.message, true);
core.print("cts_runner caught WebGPU error: " + event.error.message + "\n", true);
};
return device;
})
+1 -2
View File
@@ -43,8 +43,7 @@ webgpu:api,operation,rendering,color_target_state:blending,GPUBlendComponent:*
webgpu:api,operation,rendering,depth:*
webgpu:api,operation,rendering,draw:*
webgpu:api,operation,shader_module,compilation_info:*
// Likely due to https://github.com/gfx-rs/wgpu/issues/7357.
fails-if(metal) webgpu:api,operation,uncapturederror:iff_uncaptured:*
webgpu:api,operation,uncapturederror:iff_uncaptured:*
//FAIL: webgpu:api,operation,uncapturederror:onuncapturederror_order_wrt_addEventListener
// There are also two unimplemented SKIPs in uncapturederror not enumerated here.
fails-if(vulkan) webgpu:api,operation,vertex_state,correctness:array_stride_zero:*
+2 -2
View File
@@ -84,12 +84,12 @@ fn uncaptured_error() {
const device = await adapter.requestDevice();
device.createShaderModule({ code })
"#,
"cts_runner caught WebGPU error:
"cts_runner caught WebGPU error:\x20
Shader '' parsing error: the type of `val` is expected to be `u32`, but got `{AbstractFloat}`
┌─ wgsl:1:7
│
1 │ const val: u32 = 1.1;
│ ^^^ definition of `val`\n\n",
│ ^^^ definition of `val`\n\n\n",
);
}