mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
fix zig test with regards to passing parameters
This commit is contained in:
parent
e0a78d10cc
commit
a62353fb4b
@ -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| {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user