| ... | @@ -28,6 +28,8 @@ pub fn main() !void { | ... | @@ -28,6 +28,8 @@ pub fn main() !void { |
| 28 | const zig_exe = try fs.path.resolve(a, &[_][]const u8{zig_exe_rel}); | 28 | const zig_exe = try fs.path.resolve(a, &[_][]const u8{zig_exe_rel}); |
| 29 | | 29 | |
| 30 | const dir_path = try fs.path.join(a, &[_][]const u8{ cache_root, "clitest" }); | 30 | const dir_path = try fs.path.join(a, &[_][]const u8{ cache_root, "clitest" }); |
| | 31 | defer fs.cwd().deleteTree(dir_path) catch {}; |
| | 32 | |
| 31 | const TestFn = fn ([]const u8, []const u8) anyerror!void; | 33 | const TestFn = fn ([]const u8, []const u8) anyerror!void; |
| 32 | const test_fns = [_]TestFn{ | 34 | const test_fns = [_]TestFn{ |
| 33 | testZigInitLib, | 35 | testZigInitLib, |