Skip to content

Commit

Permalink
Rollup merge of rust-lang#111002 - Zalathar:x-suggest-dirs, r=Mark-Si…
Browse files Browse the repository at this point in the history
…mulacrum

Fix the test directories suggested by `./x.py suggest`

It seems that these paths were correct when rust-lang#106249 was being written, but since then rust-lang#106458 has been merged (moving `src/test/` to `tests/`), making the tool's suggestions incorrect.
  • Loading branch information
matthiaskrgr authored May 6, 2023
2 parents 31a4f2d + 71ab284 commit cec5c40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tools/suggest-tests/src/static_suggestions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ static_suggestions! {

"compiler/*" => [
sug!("check"),
sug!("test", 1, ["src/test/ui", "src/test/run-make"])
sug!("test", 1, ["tests/ui", "tests/run-make"])
],

"src/librustdoc/*" => [
Expand Down
2 changes: 1 addition & 1 deletion src/tools/suggest-tests/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ macro_rules! sugg_test {

sugg_test! {
test_error_code_docs: ["compiler/rustc_error_codes/src/error_codes/E0000.md"] =>
["check N/A", "test compiler/rustc_error_codes N/A", "test linkchecker 0", "test src/test/ui src/test/run-make 1"],
["check N/A", "test compiler/rustc_error_codes N/A", "test linkchecker 0", "test tests/ui tests/run-make 1"],

test_rustdoc: ["src/librustdoc/src/lib.rs"] => ["test rustdoc 1"],

Expand Down

0 comments on commit cec5c40

Please sign in to comment.