test: remove package-wide import assumptions

This commit is contained in:
2026-08-14 03:45:02 +09:00
parent a841278333
commit 04d9560d51
74 changed files with 121 additions and 154 deletions

View File

@@ -7,12 +7,12 @@ package sepbuild_test;
// remains live.
//
// sepbuild (#46 commit-3) — build_one_sep END-TO-END on the real lib
// chain root -> os -> {rt,time} (transitive-closure discovery + topo):
// build+run exit 7 both stages; {time,rt,os,__root}.wwi/.a
// chain root -> os -> time (transitive-closure discovery + topo):
// build+run exit 7 both stages; {time,os,__root}.wwi/.a
// materialize; per-package .s/.wwi/.a/.unit.ww and the final binary
// byte-id cs vs ww; every .unit.ww is the package's own sorted source
// set; `ww run` routes through the same sole sep path (exit 7 both
// stages).
// set; the runtime remains a fixed linker input rather than a source graph
// action; `ww run` routes through the same sole sep path (exit 7 both stages).
//
// seproot — a ROOT whose `export fn use(a: *t)` reaches an unexported
// local `type t` builds and emits a deterministic self-contained .wwi/.a.
@@ -89,7 +89,7 @@ fn samefile(label: str, what: str, a: str, b: str) void = {
};
// discovery/topo: every reachable package action materialized.
let pkgs: []str = ["time", "rt", "os", "__root"];
let pkgs: []str = ["time", "os", "__root"];
let i: i32 = 0;
for (i < pkgs.len) {
if (!testenv.exists(strings.concat(td, "/prog.cs.sepwork/",