Skip to content

Conversation

nicholasbishop
Copy link
Member

Make the MP and PXE tests fail if the protocol isn't present. If the tests aren't supposed to pass then they are disabled by feature flag. This makes it easier to catch accidental breakage, since the tests will actually fail with an error instead of just printing a warning.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

We already disable the test via feature flags when it's expected to fail. Making
it fail instead of warn makes it easier to catch accidental breakage.
Add a feature flag to control whether the test is enabled. Enable it unless the
`--disable-network` arg is present. Making the test fail instead of warn makes
it easier to catch accidental breakage.
Copy link
Member

@phip1611 phip1611 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for working on this!

@nicholasbishop nicholasbishop merged commit 3fd5f73 into rust-osdev:main Feb 20, 2023
@nicholasbishop nicholasbishop deleted the bishop-no-warn branch February 20, 2023 13:52
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