mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
test-cli: Remove temporary directory after tests
This commit is contained in:
parent
8942243f7a
commit
36db4b7cc4
@ -28,6 +28,8 @@ pub fn main() !void {
|
||||
const zig_exe = try fs.path.resolve(a, &[_][]const u8{zig_exe_rel});
|
||||
|
||||
const dir_path = try fs.path.join(a, &[_][]const u8{ cache_root, "clitest" });
|
||||
defer fs.cwd().deleteTree(dir_path) catch {};
|
||||
|
||||
const TestFn = fn ([]const u8, []const u8) anyerror!void;
|
||||
const test_fns = [_]TestFn{
|
||||
testZigInitLib,
|
||||
|
Loading…
Reference in New Issue
Block a user