diff --git a/cts_runner/src/bootstrap.js b/cts_runner/src/bootstrap.js index e2cd03a34..42fcc41c2 100644 --- a/cts_runner/src/bootstrap.js +++ b/cts_runner/src/bootstrap.js @@ -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; }) diff --git a/cts_runner/test.lst b/cts_runner/test.lst index 3ad585b08..66d8778f7 100644 --- a/cts_runner/test.lst +++ b/cts_runner/test.lst @@ -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:* diff --git a/cts_runner/tests/integration.rs b/cts_runner/tests/integration.rs index ac639fccb..bdf5b31a7 100644 --- a/cts_runner/tests/integration.rs +++ b/cts_runner/tests/integration.rs @@ -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", ); }