cmd: preserve package-test driver identity

This commit is contained in:
2026-08-12 16:22:38 +09:00
parent c4bdc5dc4f
commit 90f9d60291
2 changed files with 2 additions and 6 deletions

View File

@@ -194,7 +194,6 @@ fn execpackagetests(selfdir: *u8, argv: **u8, argc: i32, start: i32,
case void => void;
};
let builder: *u8 = joinpathlit(selfdir, "ww_ww");
let cap: i32 = argc - start + 6;
let execargv: []*u8 = alloc([], cap: u64)!;
execargv.len = cap;
@@ -202,7 +201,7 @@ fn execpackagetests(selfdir: *u8, argv: **u8, argc: i32, start: i32,
execargv[n] = prog; n += 1;
execargv[n] = "package".ptr; n += 1;
execargv[n] = "--ww-driver".ptr; n += 1;
execargv[n] = builder; n += 1;
execargv[n] = selfpath; n += 1;
let dotted: bool = false;
let i: i32 = start;
for (i < argc) {