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

Add test wrappers #1774

Merged
merged 4 commits into from
Apr 1, 2025
Merged

Add test wrappers #1774

merged 4 commits into from
Apr 1, 2025

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Mar 30, 2025

This adds a simple xtask-like system to make it easier to run tests.

I expect this to evolve more in the future, this is just intended as an initial experiment to try to make it easier to do things locally.

  • cargo xtask style-check — Runs style checks
  • cargo xtask linkcheck — Checks links
  • cargo xtask test-all — Runs all tests, like mdbook, linkcheck, etc.

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Mar 30, 2025
ehuss added 2 commits April 1, 2025 12:49
This adds a simple xtask-like system to make it easier to run tests.

I expect this to evolve more in the future, this is just intended as an
initial experiment to try to make it easier to do things locally.

* `cargo style-check` — Runs style checks
* `cargo linkcheck` — Checks links
* `cargo test-all` — Runs all tests, like mdbook, linkcheck, etc.
TC felt that it would be better to stay with a more conventional style
to avoid confusion.
@traviscross traviscross added this pull request to the merge queue Apr 1, 2025
Merged via the queue into rust-lang:master with commit 3842281 Apr 1, 2025
5 checks passed
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.

3 participants