Import component spec tests as a submodule and run them. - #2623
Merged
alexcrichton merged 3 commits intoAug 25, 2026
Conversation
alexcrichton
force-pushed
the
component-spec-tests
branch
from
August 25, 2026 17:00
e90d2fa to
057d0f5
Compare
pchickey
approved these changes
Aug 25, 2026
pchickey
left a comment
Contributor
There was a problem hiding this comment.
Obviously I didn't review the entire blessed test results added by this PR, but I spot checked two files and the rest looks good
This commit updates the main spec test suite submodule and drops a skipped test from the custom-page-sizes proposal (it now runs and passes), and then this additionally adds a new submodule for the component model test suite and imports all of the tests.
This commit updates the script used to generate files to run the spec tests to additionally generate file to run component model tests. This additionally fixes minor issues when parsing a component to shift the validation-time error to a parse-time error when a module section contains a component and vice versa.
alexcrichton
force-pushed
the
component-spec-tests
branch
from
August 25, 2026 20:24
ab8dda1 to
5e8dc0f
Compare
alexcrichton
enabled auto-merge
August 25, 2026 20:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was a major motivation for #2621 and this PR follow through (building on top of #2621) in importing the component model test suite. One minor change of shifting an error around is additionally required, but otherwise all component spec tests run except for the recently-added
max-value-size.wastwhich I'll be tackling next. For now that's expected to fail.Note that just the last two commits here are part of this PR, and I've separated out the auto-generated changes and the handwritten changes commit-wise.