test: banner purge + WHY-only comment sweep (rule 8)
Every section banner dies (103 -> 0) across test/lang, the observer suites, the C carriers, and the five comment-heavy corpus fixtures; banner provenance (#N cites, carrier numbers, repair-cluster labels) folded into headers or adjacent WHY comments. Narration deleted; row provenance, ref cites, divergence pins, and layout contracts kept (fwd-ref decl-order guards and bootstrap-gate corpus rationale restored where the sweep over-cut). Comment-only proven: all 3742 wwbuild workdir .s byte-identical before/after; test-commit and test-byteid (161 lang + 1399 data, 0 pinned-divergent) green.
This commit is contained in:
@@ -164,8 +164,6 @@ fn cxrootsrc() str = {
|
||||
"fn main() i32 = { return (cea.val(): i32) + (ceb.val(): i32); };\n");
|
||||
};
|
||||
|
||||
// produce a package's .wwi (w6c -I, .s discarded); the production
|
||||
// itself must succeed.
|
||||
fn produce(td: str, name: str, unit: str, wwi: str) void = {
|
||||
let av: []str = [testenv.driver("w6c"), "-I", wwi, "-o", "/dev/null",
|
||||
unit];
|
||||
@@ -222,7 +220,6 @@ fn keystone(td: str, label: str, bodies: str, sepu: str) void = {
|
||||
};
|
||||
};
|
||||
|
||||
// compile (-c) + assemble one package unit through one toolchain.
|
||||
fn buildpkg(td: str, name: str, comp: str, asmtool: str, unit: str,
|
||||
sf: str, of: str) void = {
|
||||
let cav: []str = [testenv.driver(comp), "-c", "-o", sf, unit];
|
||||
@@ -235,7 +232,6 @@ fn buildpkg(td: str, name: str, comp: str, asmtool: str, unit: str,
|
||||
};
|
||||
};
|
||||
|
||||
// materialize leaf.ww + leaf.wwi + mid.prod.ww + mid.wwi under td.
|
||||
fn producecore(td: str) void = {
|
||||
let leafww: str = strings.concat(td, "/leaf.ww");
|
||||
testenv.writefile(leafww, leafsrc());
|
||||
@@ -248,7 +244,6 @@ fn producecore(td: str) void = {
|
||||
produce(td, "mid", prod, strings.concat(td, "/mid.wwi"));
|
||||
};
|
||||
|
||||
// materialize sleaf.ww + sleaf.wwi (+ optionally smid.wwi) under td.
|
||||
fn producestr(td: str, withsmid: bool) void = {
|
||||
let sleafww: str = strings.concat(td, "/sleaf.ww");
|
||||
testenv.writefile(sleafww, sleafsrc());
|
||||
|
||||
Reference in New Issue
Block a user