ww: test sources are *_test.ww only (Go contract)
Go compiles only _test.go files as tests; discovery now keys on the
_test.ww suffix alone. The line-leading-@test compatibility allowance
(noncanonical filenames admitted as test sources) is removed from both
driver stages and the coordinator. An @test declaration outside a
*_test.ww file is rejected loudly ("@test declaration outside
*_test.ww", wording byte-identical cs/ww) instead of silently running
under compose or silently dropping in a non-T build (#6). Tree audit
found zero real carriers; the two allowance fixtures flip canonical
(dep_test.ww, widget_test.ww). New pins: direnum attest-noncanon
reject row (both-stage stderr parity) and the coordinator
noncanonical_attest_rejected package row.
This commit is contained in:
@@ -89,7 +89,7 @@ fn cmpsepwork(label: str, csdir: str, wwdir: str) void = {
|
||||
@test fn coloimport() void = {
|
||||
let td: str = testenv.fresh();
|
||||
let inc: str = strings.concat(testenv.repo(), "/test/wcc/data/colo98");
|
||||
let entry: str = strings.concat(inc, "/widget/widgettest.ww");
|
||||
let entry: str = strings.concat(inc, "/widget/widget_test.ww");
|
||||
let drvs: []str = ["ww", "ww_ww"];
|
||||
let tags: []str = ["cs", "ww"];
|
||||
let i: i32 = 0;
|
||||
|
||||
Reference in New Issue
Block a user