Skip to content

Commit 7e5f016

Browse files
chore(cts): Enable test fixed by objc2 (gfx-rs#8950)
Closes gfx-rs#7357
1 parent 66f9526 commit 7e5f016

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

cts_runner/src/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ const requestDevice = webgpu.GPUAdapter.prototype.requestDevice;
238238
webgpu.GPUAdapter.prototype.requestDevice = function(desc) {
239239
return requestDevice.call(this, desc).then((device) => {
240240
device.onuncapturederror = (event) => {
241-
core.print("cts_runner caught WebGPU error:" + event.error.message, true);
241+
core.print("cts_runner caught WebGPU error: " + event.error.message + "\n", true);
242242
};
243243
return device;
244244
})

cts_runner/test.lst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ webgpu:api,operation,rendering,color_target_state:blending,GPUBlendComponent:*
4343
webgpu:api,operation,rendering,depth:*
4444
webgpu:api,operation,rendering,draw:*
4545
webgpu:api,operation,shader_module,compilation_info:*
46-
// Likely due to https://github.com/gfx-rs/wgpu/issues/7357.
47-
fails-if(metal) webgpu:api,operation,uncapturederror:iff_uncaptured:*
46+
webgpu:api,operation,uncapturederror:iff_uncaptured:*
4847
//FAIL: webgpu:api,operation,uncapturederror:onuncapturederror_order_wrt_addEventListener
4948
// There are also two unimplemented SKIPs in uncapturederror not enumerated here.
5049
fails-if(vulkan) webgpu:api,operation,vertex_state,correctness:array_stride_zero:*

cts_runner/tests/integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ fn uncaptured_error() {
8484
const device = await adapter.requestDevice();
8585
device.createShaderModule({ code })
8686
"#,
87-
"cts_runner caught WebGPU error:
87+
"cts_runner caught WebGPU error:\x20
8888
Shader '' parsing error: the type of `val` is expected to be `u32`, but got `{AbstractFloat}`
8989
┌─ wgsl:1:7
9090
9191
1 │ const val: u32 = 1.1;
92-
│ ^^^ definition of `val`\n\n",
92+
│ ^^^ definition of `val`\n\n\n",
9393
);
9494
}
9595

0 commit comments

Comments
 (0)