Skip to content

Give the engines of the plugin build tests a compressor collection - #105

Merged
tomaszbk merged 2 commits into
mainfrom
cook/fixtures-compressor
Nov 16, 2026
Merged

tomaszbk merged 2 commits into
mainfrom
cook/fixtures-compressor

Conversation

@5hif7y

@5hif7y 5hif7y commented Nov 15, 2026

Copy link
Copy Markdown
Member

Closes #95.

Changes

  • project.compressor_flags gives every plugin compile -collection:compressor=<engine>/std/compressor and -collection:compressor_open=..., and odin refuses a collection whose folder does not exist.
  • The engines that four tests write in a temporary folder had core and their plugins but no std/compressor.
  • Each of those fixtures now writes engine/std/compressor/compressor.odin, as a real engine has it. Test files only, +4 lines.
  • The build itself is unchanged: an engine without std/compressor is broken, and saying so stays right.

Tests

🤖 Generated with Claude Code

The build passes -collection:compressor (and compressor_open) to every
plugin library, and odin refuses a collection whose folder is missing.
The engines four cook/build tests write had no std/compressor, so
their plugin libraries never compiled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@5hif7y 5hif7y self-assigned this Nov 15, 2026
@5hif7y
5hif7y requested a review from tomaszbk November 15, 2026 23:31
fixture_write writes the files of a test's engine and project, with the
compressor collection every engine has and the build names, so a fixture
lists only what it tests and the next folder the build names is added once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tomaszbk
tomaszbk merged commit 551254c into main Nov 16, 2026
1 check passed
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.

Four cook/build tests fail on main: their fixture engine has no compressor collection

2 participants