Skip to content

tests: move test-only programs into fixtures - #444

Merged
apoelstra merged 1 commit into
BlockstreamResearch:masterfrom
stringhandler:st-move-fixtures
Oct 17, 2026
Merged

apoelstra merged 1 commit into
BlockstreamResearch:masterfrom
stringhandler:st-move-fixtures

Conversation

@stringhandler

Copy link
Copy Markdown
Collaborator

examples/ holds programs that show how to write contracts, but kitchen_sink and array_fold_2n (the reproduction of #153) exist only for regression tests. Move them to a new fixtures/ directory, and point the run, regression and lossless lexer tests and the PR template at it.

The PR template now also gives the command that regenerates test-data/kitchen_sink.json, which needs --debug to match the test.

Checklist

  • If this PR adds or changes a language feature, it is used in
    examples/kitchen_sink.simf, and test-data/kitchen_sink.json is
    regenerated.

@stringhandler
stringhandler requested a review from delta1 as a code owner October 16, 2026 11:20
examples/ holds programs that show how to write contracts, but
kitchen_sink and array_fold_2n (the reproduction of BlockstreamResearch#153) exist only for
regression tests. Move them to a new fixtures/ directory, and point the
run, regression and lossless lexer tests and the PR template at it.

The kitchen_sink header now gives the command that regenerates
test-data/kitchen_sink.json, which needs --debug to match the test.

Assisted-by: Claude

@apoelstra apoelstra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 851f810; successfully ran local tests; sure, fine with me

@apoelstra
apoelstra merged commit 958f247 into BlockstreamResearch:master Oct 17, 2026
14 checks 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.

2 participants