Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec inline assembly tests #1648

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

chorman0773
Copy link
Contributor

This adds inline tests for the inline-assembly chapter. These serve as both examples for users reading the text and a micro test suite that can be run against a rust compiler.

Most r[] delimited rules have at least one test. Ones that don't are ones that can easily be tested (such as many of the r[asm.rules]).

Identifiers are not updated to match #1635, but this should be a merge-compatible change. I'd recommend merging that one before this one however, unless there are major changes required on it.

A few tests are no_run, they have been explained directly with html comments. If mdbook test can be improved to test for certain conditions (not full on ui_test), that would be useful, and the tests can be modified accordingly

@chorman0773 chorman0773 added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Nov 10, 2024
@rustbot

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: The marked PR is awaiting review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants