test: follow canonical directory root artifacts
This commit is contained in:
@@ -17,7 +17,7 @@ package direnum_test;
|
||||
//
|
||||
// rootorder — a private rootok/ dir built DIRECTLY (z.ww ORDER-Z
|
||||
// value()=17 vs a.ww ORDER-A leading comment + main): build exit 0,
|
||||
// the binary exits 17, and the driver's <out>.sepwork/__root.unit.ww
|
||||
// the binary exits 17, and the driver's <out>.sepwork/rootok.unit.ww
|
||||
// stores ORDER-A strictly before ORDER-Z (byte-sorted deterministic
|
||||
// source order); the two stages' units are byte-identical.
|
||||
//
|
||||
@@ -143,7 +143,7 @@ fn rejectpair(label: str, td: str, target: str, needle: str) void = {
|
||||
fail("rootorder", strings.concat(drvs[s], " exit != 17"));
|
||||
};
|
||||
units[s] = testenv.readfile(strings.concat(out,
|
||||
".sepwork/__root.unit.ww"));
|
||||
".sepwork/rootok.unit.ww"));
|
||||
let a: i32 = testenv.pos(units[s], "ORDER-A");
|
||||
let z: i32 = testenv.pos(units[s], "ORDER-Z");
|
||||
if (a < 0 || z < 0 || a >= z) {
|
||||
@@ -153,7 +153,7 @@ fn rejectpair(label: str, td: str, target: str, needle: str) void = {
|
||||
s += 1;
|
||||
};
|
||||
if (!testenv.same(units[0], units[1])) {
|
||||
fail("rootorder", "C/WW __root.unit.ww differ");
|
||||
fail("rootorder", "C/WW rootok.unit.ww differ");
|
||||
};
|
||||
testenv.clean(td);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user