| ... | @@ -1201,6 +1201,9 @@ pub const TestContext = struct { | ... | @@ -1201,6 +1201,9 @@ pub const TestContext = struct { |
| 1201 | if (!build_options.have_llvm and case.backend == .llvm) | 1201 | if (!build_options.have_llvm and case.backend == .llvm) |
| 1202 | continue; | 1202 | continue; |
| 1203 | | 1203 | |
| | 1204 | if (build_options.test_filter) |test_filter| { |
| | 1205 | if (std.mem.indexOf(u8, case.name, test_filter) == null) continue; |
| | 1206 | } |
| 1204 | var prg_node = root_node.start(case.name, case.updates.items.len); | 1207 | var prg_node = root_node.start(case.name, case.updates.items.len); |
| 1205 | prg_node.activate(); | 1208 | prg_node.activate(); |
| 1206 | defer prg_node.end(); | 1209 | defer prg_node.end(); |