8000 tidy: replace `make check` with `./x.py test` in documentation by chrissimpkins · Pull Request #69603 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

tidy: replace make check with ./x.py test in documentation #69603

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

Merged
merged 6 commits into from
Mar 11, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add documentation of tool testing with x.py script
  • Loading branch information
chrissimpkins committed Mar 10, 2020
commit 9f734c978c4c32eea552d45fef582804c1d2b9bf
8 changes: 6 additions & 2 deletions src/bootstrap/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,19 +359,23 @@ Arguments:
subcommand_help.push_str(
"\n
Arguments:
This subcommand accepts a number of paths to directories to tests that
This subcommand accepts a number of paths to test directories that
should be compiled and run. For example:

./x.py test src/test/ui
./x.py test src/libstd --test-args hash_map
./x.py test src/libstd --stage 0 --no-doc
./x.py test src/test/ui --bless
./x.py test src/test/ui --compare-mode nll

Note that `test src/test/* --stage N` does NOT depend on `build src/rustc --stage N`;
just like `build src/libstd --stage N` it tests the compiler produced by the previous
stage.

Execute tool tests with a tool name argument:

./x.py test tidy

If no arguments are passed then the complete artifacts for that stage are
compiled and tested.

Expand Down
0