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