Skip to content

Conversation

@nicholasbishop
Copy link
Member

@nicholasbishop nicholasbishop commented Oct 11, 2022

cargo xtask run now takes a --disable-network arg that turns off the network protocol tests by not creating a network device.

The purpose of this flag is to make the QEMU tests faster when iterating on something locally. Disabling the network stuff drops the time down from ~12.5s to ~4.5s. The extra time doesn't matter when running in CI, but for quick local testing it can add up.

Checklist

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

`cargo xtask run` now takes a `--disable-network` arg that turns off the
network protocol tests by not creating a network device.

The purpose of this flag is to make the QEMU tests faster when iterating
on something locally. Disabling the network stuff drops the time down
from ~12.5s to ~4.5s. The extra time doesn't matter when running in CI,
but for quick local testing it can add up.
@phip1611 phip1611 force-pushed the bishop-optional-net branch from db3cdba to 10de8de Compare October 12, 2022 05:44
@phip1611 phip1611 merged commit 5fbf98f into rust-osdev:main Oct 12, 2022
@nicholasbishop nicholasbishop deleted the bishop-optional-net branch November 18, 2022 03:38
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