From d656c2a7abe90d00ef6dbc3731b82bd26180038a Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Sun, 25 Feb 2024 14:04:06 +0100 Subject: test: rework how filtering works * make test names contain the fully qualified name * make test filters match the fully qualified name * allow multiple test filters, where a test is skipped if it does not match any of the specified filters --- src/codegen/spirv.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/codegen/spirv.zig') diff --git a/src/codegen/spirv.zig b/src/codegen/spirv.zig index cbc6ae1eb3..dc3b646ab7 100644 --- a/src/codegen/spirv.zig +++ b/src/codegen/spirv.zig @@ -2019,7 +2019,7 @@ const DeclGen = struct { // Append the actual code into the functions section. try self.spv.addFunction(spv_decl_index, self.func); - const fqn = ip.stringToSlice(try decl.getFullyQualifiedName(self.module)); + const fqn = ip.stringToSlice(try decl.fullyQualifiedName(self.module)); try self.spv.debugName(decl_id, fqn); // Temporarily generate a test kernel declaration if this is a test function. @@ -2055,7 +2055,7 @@ const DeclGen = struct { .id_result = decl_id, .storage_class = actual_storage_class, }); - const fqn = ip.stringToSlice(try decl.getFullyQualifiedName(self.module)); + const fqn = ip.stringToSlice(try decl.fullyQualifiedName(self.module)); try self.spv.debugName(decl_id, fqn); if (opt_init_val) |init_val| { -- cgit v1.2.3