aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSoccera1 <[email protected]>2026-07-13 20:02:06 +1000
committerSoccera1 <[email protected]>2026-07-13 20:02:06 +1000
commit8b8e40523f999fa2e2d676f591ac85c60f063083 (patch)
tree43823e69c099292838187554ab95c1eb454c2a8d /scripts
parentc00d38b1af1cff5d7230fb31325aeeb76417f323 (diff)
downloadbnu-8b8e40523f999fa2e2d676f591ac85c60f063083.tar.gz
bnu-8b8e40523f999fa2e2d676f591ac85c60f063083.zip
Add friendlier error messages
Diffstat (limited to 'scripts')
-rw-r--r--scripts/run-bun-tests-bounded.js6
-rw-r--r--scripts/run-gnu-tests.js1
2 files changed, 6 insertions, 1 deletions
diff --git a/scripts/run-bun-tests-bounded.js b/scripts/run-bun-tests-bounded.js
index f3e5a03..5864a4c 100644
--- a/scripts/run-bun-tests-bounded.js
+++ b/scripts/run-bun-tests-bounded.js
@@ -31,7 +31,11 @@ for (let index = 0; index < names.length; index++) {
"--max-concurrency", "1",
], {
cwd: root,
- env: { ...process.env, BNU_FACTOR_WORKERS: process.env.BNU_FACTOR_WORKERS ?? "1" },
+ env: {
+ ...process.env,
+ BNU_FACTOR_WORKERS: process.env.BNU_FACTOR_WORKERS ?? "1",
+ GNULY_CORRECT: "1",
+ },
stdin: "ignore",
stdout: "inherit",
stderr: "inherit",
diff --git a/scripts/run-gnu-tests.js b/scripts/run-gnu-tests.js
index fd1bccc..7eeed23 100644
--- a/scripts/run-gnu-tests.js
+++ b/scripts/run-gnu-tests.js
@@ -1548,6 +1548,7 @@ function testEnvironment(dir, test) {
// factor data itself. Keep audit execution serial unless a controlled run
// explicitly opts in to a bounded worker count.
BNU_FACTOR_WORKERS: process.env.BNU_FACTOR_WORKERS || "1",
+ GNULY_CORRECT: "1",
built_programs: process.env.BNU_GNU_BUILT_PROGRAMS || [...commandNames, "ginstall"].join(" "),
CC: process.env.CC || "cc",
CONFIG_HEADER: join(dir, "config.h"),