Skip to content

Commit 71ab284

Browse files
committed
Fix the test directories suggested by ./x.py suggest
The tests that were in `src/test/` have been moved to `tests/`, so the paths given by the suggestion tool should reflect this.
1 parent 87b1f89 commit 71ab284

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/suggest-tests/src/static_suggestions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ static_suggestions! {
1515

1616
"compiler/*" => [
1717
sug!("check"),
18-
sug!("test", 1, ["src/test/ui", "src/test/run-make"])
18+
sug!("test", 1, ["tests/ui", "tests/run-make"])
1919
],
2020

2121
"src/librustdoc/*" => [

src/tools/suggest-tests/src/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ macro_rules! sugg_test {
1212

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

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

0 commit comments

Comments
 (0)