test: fold driver-parity byteid into 989_lib_byteid, retire 815/940/951
Wwstage-driver-leg byte identity gets one owner. The three carriers' content identity is already blanket-owned by their r815_/r940_/r951_ corpus twins via test-data-byteid; their only non-redundant assertion was the ww_ww driver leg, which 989_lib_byteid's 43-unit sweep covers apart from the zero-dep root-only edge — folded in as a new probe row (44 units). r940 fixture comments re-cited off the retired carrier.
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
#include <sys/wait.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
enum { M_ID, M_DIVERGE, M_WWREJECT, NENT_EXPECT = 43 };
|
||||
enum { M_ID, M_DIVERGE, M_WWREJECT, NENT_EXPECT = 44 };
|
||||
|
||||
struct ent {
|
||||
const char *fixture; /* repo-relative .ww; NULL → probe entry */
|
||||
@@ -141,6 +141,13 @@ static const struct ent ents[] = {
|
||||
.mode = M_ID, .sentinel = "fn rotl32", .moddir = "lib/crypto/math" },
|
||||
{ .probe = "package main;\nimport c.libc;\nfn main() i32 = { return 0; };\n",
|
||||
.mode = M_ID, .sentinel = "package libc;", .moddir = "lib/c/libc" },
|
||||
/* root-only, ZERO-dep build -S: the one driver-leg edge every
|
||||
* import probe misses (dep-count-0 unit composition). Folded in
|
||||
* from the retired 815/940/951 driver-parity carriers, whose
|
||||
* content byteid the corpus twins (r815_/r940_/r951_) own via
|
||||
* test-data-byteid. No sentinel: there is no dep unit to prove. */
|
||||
{ .probe = "package main;\nfn main() i32 = { return 0; };\n",
|
||||
.mode = M_ID },
|
||||
/* -------- documented-allowed cs≠ww (task #59) ------------ */
|
||||
{ .fixture = "lib/ascii/asciitest.ww",
|
||||
.mode = M_ID, .cite = "#59.1 graduated by #146 str==" },
|
||||
@@ -253,7 +260,8 @@ check_one(const char *bin, const char *cwd, const struct ent *e, int idx)
|
||||
if (!f) goto out;
|
||||
fputs(e->probe, f);
|
||||
fclose(f);
|
||||
label = e->moddir;
|
||||
if (e->moddir)
|
||||
label = e->moddir;
|
||||
}
|
||||
|
||||
/* dirname(fixture) leads the search path so bare same-module
|
||||
|
||||
Reference in New Issue
Block a user