fix zig test with regards to passing parameters

This commit is contained in:
Andrew Kelley 2020-12-28 22:15:07 -07:00
parent e0a78d10cc
commit a62353fb4b

View File

@ -1833,7 +1833,13 @@ fn buildOutputType(
});
} else {
for (test_exec_args.items) |arg| {
try argv.append(arg orelse exe_path);
if (arg) |a| {
try argv.append(a);
} else {
try argv.appendSlice(&[_][]const u8{
exe_path, self_exe_path,
});
}
}
}
if (runtime_args_start) |i| {