Commit 9dcf064f

9dcf064f5b49Merged

Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 259 files · +259 added

Description

test: commit pre-computed .expected for all tests

259 test/.rb.expected files — one per test/.rb — captured by make regen-expected running each test under miniruby (Ruby 4.1.0dev master, supports the full set of features used by spinel tests including the it numbered block param). CRLF normalized in line with the harness comparison path.

The per-test recipe in build/test-results/%.ok now reads these files directly instead of forking ruby for each test, removing ~256 ruby invocations from every CI run. Effect is largest on Windows mingw64 ruby where each fork costs ~250ms.

If CI's Ruby (3.4) diverges from these miniruby-generated expectations on any specific test (Float#inspect / Hash ordering edge cases / etc.), the offending .expected can be deleted and the harness falls back to running ruby for that test only.

Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]

Details

Commit
9dcf064f5b49
Parent
93e1bc678f01

test/anon_block_forward.rb.expectedaddedView file

1+1-top-level
2+2-prefix
3+ body
4+3-class-method