test: fan out the gates and build shared binaries once
Every Nim test file and every Node test file is already isolated (own temp state dir, free ports, own server/nginx), so run them FFF_TEST_JOBS at a time (default half the cores, capped at 8) instead of one at a time. The real server (clean, leakfault, dispfault) and the leak checker are built once per source+flags and shared across the parallel files; nimcaches are worktree-local so two checkouts cannot race on them. The 22 independent fault cases are sharded across processes. The wall-clock gate files (persistence, tiles; e2e map/fog/fogbench/ perf) still run alone first so their budgets are not measured under the suite's own load. No test or assertion changes.
This commit is contained in:
@@ -8,6 +8,8 @@ nimcache/
|
||||
tests/t[a-z]*
|
||||
!tests/*.nim
|
||||
!tests/fixtures/
|
||||
# tests/refold.nim is a helper module nimble test also compiles; its output binary is scratch
|
||||
/tests/refold
|
||||
tools/bench
|
||||
tools/mkcorpus
|
||||
run/
|
||||
|
||||
Reference in New Issue
Block a user