| ... | ... | @@ -83,7 +83,6 @@ c_std: std.Build.CStd, |
| 83 | 83 | zig_lib_dir: ?[]const u8, |
| 84 | 84 | main_pkg_path: ?[]const u8, |
| 85 | 85 | exec_cmd_args: ?[]const ?[]const u8, |
| 86 | | name_prefix: []const u8, |
| 87 | 86 | filter: ?[]const u8, |
| 88 | 87 | test_evented_io: bool = false, |
| 89 | 88 | test_runner: ?[]const u8, |
| ... | ... | @@ -374,7 +373,6 @@ pub fn create(owner: *std.Build, options: Options) *CompileStep { |
| 374 | 373 | .zig_lib_dir = null, |
| 375 | 374 | .main_pkg_path = null, |
| 376 | 375 | .exec_cmd_args = null, |
| 377 | | .name_prefix = "", |
| 378 | 376 | .filter = null, |
| 379 | 377 | .test_runner = null, |
| 380 | 378 | .disable_stack_probing = false, |
| ... | ... | @@ -847,10 +845,10 @@ fn linkSystemLibraryInner(self: *CompileStep, name: []const u8, opts: struct { |
| 847 | 845 | }) catch @panic("OOM"); |
| 848 | 846 | } |
| 849 | 847 | |
| 850 | | pub fn setNamePrefix(self: *CompileStep, text: []const u8) void { |
| 848 | pub fn setName(self: *CompileStep, text: []const u8) void { |
| 851 | 849 | const b = self.step.owner; |
| 852 | 850 | assert(self.kind == .@"test"); |
| 853 | | self.name_prefix = b.dupe(text); |
| 851 | self.name = b.dupe(text); |
| 854 | 852 | } |
| 855 | 853 | |
| 856 | 854 | pub fn setFilter(self: *CompileStep, text: ?[]const u8) void { |
| ... | ... | @@ -1424,11 +1422,6 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void { |
| 1424 | 1422 | try zig_args.append("--test-evented-io"); |
| 1425 | 1423 | } |
| 1426 | 1424 | |
| 1427 | | if (self.name_prefix.len != 0) { |
| 1428 | | try zig_args.append("--test-name-prefix"); |
| 1429 | | try zig_args.append(self.name_prefix); |
| 1430 | | } |
| 1431 | | |
| 1432 | 1425 | if (self.test_runner) |test_runner| { |
| 1433 | 1426 | try zig_args.append("--test-runner"); |
| 1434 | 1427 | try zig_args.append(b.pathFromRoot(test_runner)); |