test: align package fixtures with Go semantics

This commit is contained in:
2026-08-13 23:43:07 +09:00
parent 9a2812347c
commit 028da6323e
6 changed files with 61 additions and 52 deletions

View File

@@ -114,8 +114,8 @@ main(void)
}
snprintf(cmd, sizeof cmd,
"%s/ww build -o %s %s -L %s -l c >/dev/null 2>&1",
bin, stem, src, libdir);
"%s/ww build -o %s -L %s -l c %s >/dev/null 2>&1",
bin, stem, libdir, src);
if (runwait(cmd) != 0) {
fprintf(stderr, "w6l_ww-dyn FAIL: cannot build generated command\n");
rc = 1;