Skip to content

Commit

Permalink
Fix the test directories suggested by ./x.py suggest
Browse files Browse the repository at this point in the history
The tests that were in `src/test/` have been moved to `tests/`, so the paths
given by the suggestion tool should reflect this.
  • Loading branch information
Zalathar committed Apr 30, 2023
1 parent 87b1f89 commit 71ab284
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 71ab284

Please sign in to comment.