Skip to content

tests: the gate and the speed oracle run s2 only - #32

Merged
vic merged 2 commits into
mainfrom
s2-only-tests
Nov 9, 2026
Merged

vic merged 2 commits into
mainfrom
s2-only-tests

Conversation

@vic

@vic vic commented Nov 9, 2026

Copy link
Copy Markdown
Owner
  • tests/run.sh (srs-test) no longer builds or runs s0 or s1. Its path is: the s2c seed builds s2c, s2c compiles itself to a fixpoint, the seed must be fresh, then the s2 components, prog, neg, eval, hash and store tests run, plus tail calls at -O0 and the functional and clash checks. Gate: 189 ok, 0 FAIL. The 185 lines removed were all s1 lines (2 fixpoint/seed + 33 prog + 18 s1-built units + 125 neg + 2 hash + 3 eval + tailcall + store), each mirrored on s2c.
  • tests/bench.sh (srs-bench) times s2c: corpus-self (s2c compiles the frozen s2 sources and driver), corpus-tests (all 33 frozen prog tests) and info-s2c-self. bench/corpus is refrozen to lib, s2, s2c and tests/s2/prog. The new baseline (bench-update): self-compile 3.16 G instructions and 1.26 GB; tests 7.4 G instructions.
  • nix commands: the srs-test and srs-bench descriptions now say s2.
  • Still s1-based, left for vic's removal: seed-update, s0-bootstrap, lean-check (--lean is deferred until the core is stable), and tests/s1.

vic added 2 commits November 9, 2026 04:03
…tests/s2; bench corpus refrozen to s2 sources and s2 tests, new baseline)
…he s2c seed, s0/s1 commands removed (s0 and s1 are historic), README wording
@vic
vic merged commit 1765b61 into main Nov 9, 2026
3 checks passed
@vic
vic deleted the s2-only-tests branch November 17, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant