From ecf2b750cff266686f0a799e7edaf3f70002cd14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Orell=20Valerian=20Liehr?= Date: Sat, 13 Jun 2026 13:47:34 +0200 Subject: [PATCH] Move rustdoc run-make tests into new `tests/run-make/rustdoc/` Furthermore, populate `tests/run-make/rustdoc/doctest/` with doctest run-make tests and `tests/run-make/rustdoc/scrape-example/` with scrape example run-make tests. --- src/doc/rustc-dev-guide/src/tests/compiletest.md | 5 +++-- .../auto-create-out-dir}/foo.rs | 0 .../auto-create-out-dir}/rmake.rs | 0 .../cfg-spec-parsing}/foo.rs | 0 .../cfg-spec-parsing}/rmake.rs | 0 .../default-output}/output-default.stdout | 0 .../default-output}/rmake.rs | 0 .../run-make/{rustdoc-dep-info => rustdoc/dep-info}/after.md | 0 tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/bar.rs | 0 .../{rustdoc-dep-info => rustdoc/dep-info}/before.html | 0 .../{rustdoc-dep-info => rustdoc/dep-info}/custom_theme.css | 0 tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/doc.md | 0 .../{rustdoc-dep-info => rustdoc/dep-info}/example.md | 0 .../{rustdoc-dep-info => rustdoc/dep-info}/extend.css | 0 tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/foo.rs | 0 .../{rustdoc-dep-info => rustdoc/dep-info}/index-page.md | 0 tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/lib.rs | 0 .../run-make/{rustdoc-dep-info => rustdoc/dep-info}/rmake.rs | 0 .../{deref-impl-rustdoc-ice => rustdoc/deref-impl}/bar.rs | 0 .../{deref-impl-rustdoc-ice => rustdoc/deref-impl}/baz.rs | 0 .../{deref-impl-rustdoc-ice => rustdoc/deref-impl}/foo.rs | 0 .../{deref-impl-rustdoc-ice => rustdoc/deref-impl}/rmake.rs | 0 .../{rustdoc-determinism => rustdoc/determinism}/bar.rs | 0 .../{rustdoc-io-error => rustdoc/determinism}/foo.rs | 0 .../{rustdoc-determinism => rustdoc/determinism}/rmake.rs | 0 .../doctest/comptime-info}/rmake.rs | 0 .../doctest/junit}/doctest-2021.xml | 0 .../doctest/junit}/doctest-2024.xml | 0 .../{doctests-junit => rustdoc/doctest/junit}/doctest.rs | 0 .../{doctests-junit => rustdoc/doctest/junit}/rmake.rs | 0 .../doctest/junit}/validate_junit.py | 0 .../doctest/keep-binaries-2024}/rmake.rs | 0 .../doctest/keep-binaries-2024}/t.rs | 0 .../doctest/keep-binaries}/rmake.rs | 0 .../doctest/keep-binaries}/t.rs | 0 .../doctest/merge}/doctest-2021.stdout | 0 .../doctest/merge}/doctest-2024.stdout | 0 .../doctest/merge}/doctest-standalone.rs | 0 .../doctest/merge}/doctest-standalone.stdout | 0 .../{doctests-merge => rustdoc/doctest/merge}/doctest.rs | 0 .../{doctests-merge => rustdoc/doctest/merge}/rmake.rs | 0 .../doctest/output-format}/file.rs | 0 .../doctest/output-format}/rmake.rs | 0 .../{doctests-runtool => rustdoc/doctest/runtool}/rmake.rs | 0 .../{doctests-runtool => rustdoc/doctest/runtool}/runtool.rs | 0 .../{doctests-runtool => rustdoc/doctest/runtool}/t.rs | 0 .../doctest/tempdir-removal}/compile-error.rs | 0 .../doctest/tempdir-removal}/rmake.rs | 0 .../doctest/tempdir-removal}/run-error.rs | 0 .../{rustdoc-test-args => rustdoc/doctest/test-args}/foo.rs | 0 .../doctest/test-args}/rmake.rs | 0 .../doctest/test-builder}/builder.rs | 0 .../doctest/test-builder}/doctest.rs | 0 .../doctest/test-builder}/foo.rs | 0 .../doctest/test-builder}/rmake.rs | 0 .../doctest/test_harness}/doctests.rs | 0 .../doctest/test_harness}/doctests.stdout | 0 .../doctest/test_harness}/rmake.rs | 0 .../doctest/test_harness}/runtool.rs | 0 .../{rustdoc-error-lines => rustdoc/error-lines}/input.rs | 0 .../{rustdoc-error-lines => rustdoc/error-lines}/rmake.rs | 0 .../flag-namespaces-from-rustc}/rmake.rs | 0 .../{rustdoc-output-path => rustdoc/io-error}/foo.rs | 0 .../run-make/{rustdoc-io-error => rustdoc/io-error}/rmake.rs | 0 .../json-external-crate-path}/dep.rs | 0 .../json-external-crate-path}/entry.rs | 0 .../json-external-crate-path}/rmake.rs | 0 .../json-external-crate-path}/trans_dep.rs | 0 .../json-output-stdout}/foo.rs | 0 .../json-output-stdout}/rmake.rs | 0 .../{rustdoc-map-file => rustdoc/map-file}/expected.json | 0 tests/run-make/{rustdoc-map-file => rustdoc/map-file}/foo.rs | 0 .../run-make/{rustdoc-map-file => rustdoc/map-file}/rmake.rs | 0 .../merge-dir-alias}/dep1.rs | 0 .../merge-dir-alias}/dep2.rs | 0 .../merge-dir-alias}/dep_missing.rs | 0 .../merge-dir-alias}/rmake.rs | 0 .../{rustdoc-merge-directory => rustdoc/merge-dir}/dep1.rs | 0 .../{rustdoc-merge-directory => rustdoc/merge-dir}/dep2.rs | 0 .../merge-dir}/dep_missing.rs | 0 .../{rustdoc-merge-directory => rustdoc/merge-dir}/rmake.rs | 0 .../merge-no-input-finalize}/rmake.rs | 0 .../merge-no-input-finalize}/sierra.rs | 0 .../out-dir-option-short}/rmake.rs | 0 .../out-dir-option-short}/src/lib.rs | 0 .../out-dir-option}/rmake.rs | 0 .../out-dir-option}/src/lib.rs | 0 .../output-option}/rmake.rs | 0 .../output-option}/src/lib.rs | 0 .../scrape-examples/dep-info}/examples/ex.rs | 0 .../scrape-examples/dep-info}/rmake.rs | 2 +- .../scrape-examples/dep-info}/src/lib.rs | 0 .../scrape-examples/invalid-expr}/examples/ex.rs | 0 .../scrape-examples/invalid-expr}/rmake.rs | 2 +- .../scrape-examples/invalid-expr}/src/lib.rs | 0 .../scrape-examples/macros}/examples/ex.rs | 0 .../scrape-examples/macros}/rmake.rs | 0 .../scrape-examples/macros}/src/lib.rs | 0 .../scrape-examples/macros}/src/proc.rs | 0 .../scrape-examples/multiple}/examples/ex.rs | 0 .../scrape-examples/multiple}/examples/ex2.rs | 0 .../scrape-examples/multiple}/rmake.rs | 2 +- .../scrape-examples/multiple}/src/lib.rs | 0 .../scrape-examples/ordering}/examples/ex1.rs | 0 .../scrape-examples/ordering}/examples/ex2.rs | 0 .../scrape-examples/ordering}/rmake.rs | 2 +- .../scrape-examples/ordering}/src/lib.rs | 0 .../scrape-examples/remap}/examples/ex.rs | 0 .../scrape-examples/remap}/rmake.rs | 0 .../scrape-examples/remap}/scrape.rs | 0 .../scrape-examples/remap}/src/a.rs | 0 .../scrape-examples/remap}/src/lib.rs | 0 .../scrape-examples/test}/examples/ex.rs | 0 .../scrape-examples/test}/rmake.rs | 2 +- .../scrape-examples/test}/src/lib.rs | 0 .../scrape-examples/whitespace}/examples/ex.rs | 0 .../scrape-examples/whitespace}/rmake.rs | 2 +- .../scrape-examples/whitespace}/src/lib.rs | 0 .../search-load-itemtype}/bar.rs | 0 .../search-load-itemtype}/baz.rs | 0 .../search-load-itemtype}/foo.rs | 0 .../search-load-itemtype}/rmake.rs | 0 tests/run-make/{stdin-rustdoc => rustdoc/stdin}/rmake.rs | 0 .../target-modifiers}/c.rs | 0 .../target-modifiers}/d.rs | 0 .../target-modifiers}/rmake.rs | 0 .../target-spec-json-path}/dummy_core.rs | 0 .../target-spec-json-path}/my_crate.rs | 0 .../target-spec-json-path}/rmake.rs | 0 .../target-spec-json-path}/target.json | 0 tests/run-make/{rustdoc-themes => rustdoc/themes}/foo.rs | 0 tests/run-make/{rustdoc-themes => rustdoc/themes}/rmake.rs | 0 .../verify-output-files}/rmake.rs | 0 .../verify-output-files}/src/lib.rs | 0 134 files changed, 9 insertions(+), 8 deletions(-) rename tests/run-make/{rustdoc-determinism => rustdoc/auto-create-out-dir}/foo.rs (100%) rename tests/run-make/{rustdoc-output-path => rustdoc/auto-create-out-dir}/rmake.rs (100%) rename tests/run-make/{rustdoc-cfgspec-parsing => rustdoc/cfg-spec-parsing}/foo.rs (100%) rename tests/run-make/{rustdoc-cfgspec-parsing => rustdoc/cfg-spec-parsing}/rmake.rs (100%) rename tests/run-make/{rustdoc-default-output => rustdoc/default-output}/output-default.stdout (100%) rename tests/run-make/{rustdoc-default-output => rustdoc/default-output}/rmake.rs (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/after.md (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/bar.rs (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/before.html (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/custom_theme.css (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/doc.md (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/example.md (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/extend.css (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/foo.rs (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/index-page.md (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/lib.rs (100%) rename tests/run-make/{rustdoc-dep-info => rustdoc/dep-info}/rmake.rs (100%) rename tests/run-make/{deref-impl-rustdoc-ice => rustdoc/deref-impl}/bar.rs (100%) rename tests/run-make/{deref-impl-rustdoc-ice => rustdoc/deref-impl}/baz.rs (100%) rename tests/run-make/{deref-impl-rustdoc-ice => rustdoc/deref-impl}/foo.rs (100%) rename tests/run-make/{deref-impl-rustdoc-ice => rustdoc/deref-impl}/rmake.rs (100%) rename tests/run-make/{rustdoc-determinism => rustdoc/determinism}/bar.rs (100%) rename tests/run-make/{rustdoc-io-error => rustdoc/determinism}/foo.rs (100%) rename tests/run-make/{rustdoc-determinism => rustdoc/determinism}/rmake.rs (100%) rename tests/run-make/{doctests-compilation-time-info => rustdoc/doctest/comptime-info}/rmake.rs (100%) rename tests/run-make/{doctests-junit => rustdoc/doctest/junit}/doctest-2021.xml (100%) rename tests/run-make/{doctests-junit => rustdoc/doctest/junit}/doctest-2024.xml (100%) rename tests/run-make/{doctests-junit => rustdoc/doctest/junit}/doctest.rs (100%) rename tests/run-make/{doctests-junit => rustdoc/doctest/junit}/rmake.rs (100%) rename tests/run-make/{doctests-junit => rustdoc/doctest/junit}/validate_junit.py (100%) rename tests/run-make/{doctests-keep-binaries-2024 => rustdoc/doctest/keep-binaries-2024}/rmake.rs (100%) rename tests/run-make/{doctests-keep-binaries-2024 => rustdoc/doctest/keep-binaries-2024}/t.rs (100%) rename tests/run-make/{doctests-keep-binaries => rustdoc/doctest/keep-binaries}/rmake.rs (100%) rename tests/run-make/{doctests-keep-binaries => rustdoc/doctest/keep-binaries}/t.rs (100%) rename tests/run-make/{doctests-merge => rustdoc/doctest/merge}/doctest-2021.stdout (100%) rename tests/run-make/{doctests-merge => rustdoc/doctest/merge}/doctest-2024.stdout (100%) rename tests/run-make/{doctests-merge => rustdoc/doctest/merge}/doctest-standalone.rs (100%) rename tests/run-make/{doctests-merge => rustdoc/doctest/merge}/doctest-standalone.stdout (100%) rename tests/run-make/{doctests-merge => rustdoc/doctest/merge}/doctest.rs (100%) rename tests/run-make/{doctests-merge => rustdoc/doctest/merge}/rmake.rs (100%) rename tests/run-make/{rustdoc-doctest-output-format => rustdoc/doctest/output-format}/file.rs (100%) rename tests/run-make/{rustdoc-doctest-output-format => rustdoc/doctest/output-format}/rmake.rs (100%) rename tests/run-make/{doctests-runtool => rustdoc/doctest/runtool}/rmake.rs (100%) rename tests/run-make/{doctests-runtool => rustdoc/doctest/runtool}/runtool.rs (100%) rename tests/run-make/{doctests-runtool => rustdoc/doctest/runtool}/t.rs (100%) rename tests/run-make/{rustdoc-tempdir-removal => rustdoc/doctest/tempdir-removal}/compile-error.rs (100%) rename tests/run-make/{rustdoc-tempdir-removal => rustdoc/doctest/tempdir-removal}/rmake.rs (100%) rename tests/run-make/{rustdoc-tempdir-removal => rustdoc/doctest/tempdir-removal}/run-error.rs (100%) rename tests/run-make/{rustdoc-test-args => rustdoc/doctest/test-args}/foo.rs (100%) rename tests/run-make/{rustdoc-test-args => rustdoc/doctest/test-args}/rmake.rs (100%) rename tests/run-make/{rustdoc-test-builder => rustdoc/doctest/test-builder}/builder.rs (100%) rename tests/run-make/{rustdoc-test-builder => rustdoc/doctest/test-builder}/doctest.rs (100%) rename tests/run-make/{rustdoc-test-builder => rustdoc/doctest/test-builder}/foo.rs (100%) rename tests/run-make/{rustdoc-test-builder => rustdoc/doctest/test-builder}/rmake.rs (100%) rename tests/run-make/{doctests-test_harness => rustdoc/doctest/test_harness}/doctests.rs (100%) rename tests/run-make/{doctests-test_harness => rustdoc/doctest/test_harness}/doctests.stdout (100%) rename tests/run-make/{doctests-test_harness => rustdoc/doctest/test_harness}/rmake.rs (100%) rename tests/run-make/{doctests-test_harness => rustdoc/doctest/test_harness}/runtool.rs (100%) rename tests/run-make/{rustdoc-error-lines => rustdoc/error-lines}/input.rs (100%) rename tests/run-make/{rustdoc-error-lines => rustdoc/error-lines}/rmake.rs (100%) rename tests/run-make/{rustdoc-shared-flags => rustdoc/flag-namespaces-from-rustc}/rmake.rs (100%) rename tests/run-make/{rustdoc-output-path => rustdoc/io-error}/foo.rs (100%) rename tests/run-make/{rustdoc-io-error => rustdoc/io-error}/rmake.rs (100%) rename tests/run-make/{rustdoc-json-external-crate-path => rustdoc/json-external-crate-path}/dep.rs (100%) rename tests/run-make/{rustdoc-json-external-crate-path => rustdoc/json-external-crate-path}/entry.rs (100%) rename tests/run-make/{rustdoc-json-external-crate-path => rustdoc/json-external-crate-path}/rmake.rs (100%) rename tests/run-make/{rustdoc-json-external-crate-path => rustdoc/json-external-crate-path}/trans_dep.rs (100%) rename tests/run-make/{rustdoc-output-stdout => rustdoc/json-output-stdout}/foo.rs (100%) rename tests/run-make/{rustdoc-output-stdout => rustdoc/json-output-stdout}/rmake.rs (100%) rename tests/run-make/{rustdoc-map-file => rustdoc/map-file}/expected.json (100%) rename tests/run-make/{rustdoc-map-file => rustdoc/map-file}/foo.rs (100%) rename tests/run-make/{rustdoc-map-file => rustdoc/map-file}/rmake.rs (100%) rename tests/run-make/{rustdoc-merge-directory-alias => rustdoc/merge-dir-alias}/dep1.rs (100%) rename tests/run-make/{rustdoc-merge-directory-alias => rustdoc/merge-dir-alias}/dep2.rs (100%) rename tests/run-make/{rustdoc-merge-directory-alias => rustdoc/merge-dir-alias}/dep_missing.rs (100%) rename tests/run-make/{rustdoc-merge-directory-alias => rustdoc/merge-dir-alias}/rmake.rs (100%) rename tests/run-make/{rustdoc-merge-directory => rustdoc/merge-dir}/dep1.rs (100%) rename tests/run-make/{rustdoc-merge-directory => rustdoc/merge-dir}/dep2.rs (100%) rename tests/run-make/{rustdoc-merge-directory => rustdoc/merge-dir}/dep_missing.rs (100%) rename tests/run-make/{rustdoc-merge-directory => rustdoc/merge-dir}/rmake.rs (100%) rename tests/run-make/{rustdoc-merge-no-input-finalize => rustdoc/merge-no-input-finalize}/rmake.rs (100%) rename tests/run-make/{rustdoc-merge-no-input-finalize => rustdoc/merge-no-input-finalize}/sierra.rs (100%) rename tests/run-make/{rustdoc-with-short-out-dir-option => rustdoc/out-dir-option-short}/rmake.rs (100%) rename tests/run-make/{rustdoc-with-out-dir-option => rustdoc/out-dir-option-short}/src/lib.rs (100%) rename tests/run-make/{rustdoc-with-out-dir-option => rustdoc/out-dir-option}/rmake.rs (100%) rename tests/run-make/{rustdoc-with-output-option => rustdoc/out-dir-option}/src/lib.rs (100%) rename tests/run-make/{rustdoc-with-output-option => rustdoc/output-option}/rmake.rs (100%) rename tests/run-make/{rustdoc-with-short-out-dir-option => rustdoc/output-option}/src/lib.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-dep-info => rustdoc/scrape-examples/dep-info}/examples/ex.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-dep-info => rustdoc/scrape-examples/dep-info}/rmake.rs (90%) rename tests/run-make/{rustdoc-scrape-examples-dep-info => rustdoc/scrape-examples/dep-info}/src/lib.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-invalid-expr => rustdoc/scrape-examples/invalid-expr}/examples/ex.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-whitespace => rustdoc/scrape-examples/invalid-expr}/rmake.rs (58%) rename tests/run-make/{rustdoc-scrape-examples-invalid-expr => rustdoc/scrape-examples/invalid-expr}/src/lib.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-macros => rustdoc/scrape-examples/macros}/examples/ex.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-macros => rustdoc/scrape-examples/macros}/rmake.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-macros => rustdoc/scrape-examples/macros}/src/lib.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-macros => rustdoc/scrape-examples/macros}/src/proc.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-multiple => rustdoc/scrape-examples/multiple}/examples/ex.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-multiple => rustdoc/scrape-examples/multiple}/examples/ex2.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-invalid-expr => rustdoc/scrape-examples/multiple}/rmake.rs (58%) rename tests/run-make/{rustdoc-scrape-examples-multiple => rustdoc/scrape-examples/multiple}/src/lib.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-ordering => rustdoc/scrape-examples/ordering}/examples/ex1.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-ordering => rustdoc/scrape-examples/ordering}/examples/ex2.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-multiple => rustdoc/scrape-examples/ordering}/rmake.rs (58%) rename tests/run-make/{rustdoc-scrape-examples-ordering => rustdoc/scrape-examples/ordering}/src/lib.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-remap => rustdoc/scrape-examples/remap}/examples/ex.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-remap => rustdoc/scrape-examples/remap}/rmake.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-remap => rustdoc/scrape-examples/remap}/scrape.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-remap => rustdoc/scrape-examples/remap}/src/a.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-remap => rustdoc/scrape-examples/remap}/src/lib.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-test => rustdoc/scrape-examples/test}/examples/ex.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-test => rustdoc/scrape-examples/test}/rmake.rs (63%) rename tests/run-make/{rustdoc-scrape-examples-test => rustdoc/scrape-examples/test}/src/lib.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-whitespace => rustdoc/scrape-examples/whitespace}/examples/ex.rs (100%) rename tests/run-make/{rustdoc-scrape-examples-ordering => rustdoc/scrape-examples/whitespace}/rmake.rs (58%) rename tests/run-make/{rustdoc-scrape-examples-whitespace => rustdoc/scrape-examples/whitespace}/src/lib.rs (100%) rename tests/run-make/{rustdoc-search-load-itemtype => rustdoc/search-load-itemtype}/bar.rs (100%) rename tests/run-make/{rustdoc-search-load-itemtype => rustdoc/search-load-itemtype}/baz.rs (100%) rename tests/run-make/{rustdoc-search-load-itemtype => rustdoc/search-load-itemtype}/foo.rs (100%) rename tests/run-make/{rustdoc-search-load-itemtype => rustdoc/search-load-itemtype}/rmake.rs (100%) rename tests/run-make/{stdin-rustdoc => rustdoc/stdin}/rmake.rs (100%) rename tests/run-make/{rustdoc-target-modifiers => rustdoc/target-modifiers}/c.rs (100%) rename tests/run-make/{rustdoc-target-modifiers => rustdoc/target-modifiers}/d.rs (100%) rename tests/run-make/{rustdoc-target-modifiers => rustdoc/target-modifiers}/rmake.rs (100%) rename tests/run-make/{rustdoc-target-spec-json-path => rustdoc/target-spec-json-path}/dummy_core.rs (100%) rename tests/run-make/{rustdoc-target-spec-json-path => rustdoc/target-spec-json-path}/my_crate.rs (100%) rename tests/run-make/{rustdoc-target-spec-json-path => rustdoc/target-spec-json-path}/rmake.rs (100%) rename tests/run-make/{rustdoc-target-spec-json-path => rustdoc/target-spec-json-path}/target.json (100%) rename tests/run-make/{rustdoc-themes => rustdoc/themes}/foo.rs (100%) rename tests/run-make/{rustdoc-themes => rustdoc/themes}/rmake.rs (100%) rename tests/run-make/{rustdoc-verify-output-files => rustdoc/verify-output-files}/rmake.rs (100%) rename tests/run-make/{rustdoc-verify-output-files => rustdoc/verify-output-files}/src/lib.rs (100%) diff --git a/src/doc/rustc-dev-guide/src/tests/compiletest.md b/src/doc/rustc-dev-guide/src/tests/compiletest.md index 36dc71a3ac0cc..f18a660a47adb 100644 --- a/src/doc/rustc-dev-guide/src/tests/compiletest.md +++ b/src/doc/rustc-dev-guide/src/tests/compiletest.md @@ -96,10 +96,11 @@ The following test suites are available, with links for more information: | [`rustdoc-json`][rustdoc-json-tests] | Check JSON output of `rustdoc` | | `rustdoc-ui` | Check terminal output of `rustdoc` ([see also](ui.md)) | -Some rustdoc-specific tests can also be found in `ui/rustdoc/`. +`ui/rustdoc/` also contains some rustdoc-specific tests. These tests ensure that certain lints that are emitted as part of executing rustdoc are also run when executing rustc. -Run-make tests pertaining to rustdoc are typically named `run-make/rustdoc-*/`. + +`run-make/rustdoc/` contains run-make tests pertaining to rustdoc. [rustdoc-html-tests]: ../rustdoc-internals/rustdoc-html-test-suite.md [rustdoc-gui-tests]: ../rustdoc-internals/rustdoc-gui-test-suite.md diff --git a/tests/run-make/rustdoc-determinism/foo.rs b/tests/run-make/rustdoc/auto-create-out-dir/foo.rs similarity index 100% rename from tests/run-make/rustdoc-determinism/foo.rs rename to tests/run-make/rustdoc/auto-create-out-dir/foo.rs diff --git a/tests/run-make/rustdoc-output-path/rmake.rs b/tests/run-make/rustdoc/auto-create-out-dir/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-output-path/rmake.rs rename to tests/run-make/rustdoc/auto-create-out-dir/rmake.rs diff --git a/tests/run-make/rustdoc-cfgspec-parsing/foo.rs b/tests/run-make/rustdoc/cfg-spec-parsing/foo.rs similarity index 100% rename from tests/run-make/rustdoc-cfgspec-parsing/foo.rs rename to tests/run-make/rustdoc/cfg-spec-parsing/foo.rs diff --git a/tests/run-make/rustdoc-cfgspec-parsing/rmake.rs b/tests/run-make/rustdoc/cfg-spec-parsing/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-cfgspec-parsing/rmake.rs rename to tests/run-make/rustdoc/cfg-spec-parsing/rmake.rs diff --git a/tests/run-make/rustdoc-default-output/output-default.stdout b/tests/run-make/rustdoc/default-output/output-default.stdout similarity index 100% rename from tests/run-make/rustdoc-default-output/output-default.stdout rename to tests/run-make/rustdoc/default-output/output-default.stdout diff --git a/tests/run-make/rustdoc-default-output/rmake.rs b/tests/run-make/rustdoc/default-output/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-default-output/rmake.rs rename to tests/run-make/rustdoc/default-output/rmake.rs diff --git a/tests/run-make/rustdoc-dep-info/after.md b/tests/run-make/rustdoc/dep-info/after.md similarity index 100% rename from tests/run-make/rustdoc-dep-info/after.md rename to tests/run-make/rustdoc/dep-info/after.md diff --git a/tests/run-make/rustdoc-dep-info/bar.rs b/tests/run-make/rustdoc/dep-info/bar.rs similarity index 100% rename from tests/run-make/rustdoc-dep-info/bar.rs rename to tests/run-make/rustdoc/dep-info/bar.rs diff --git a/tests/run-make/rustdoc-dep-info/before.html b/tests/run-make/rustdoc/dep-info/before.html similarity index 100% rename from tests/run-make/rustdoc-dep-info/before.html rename to tests/run-make/rustdoc/dep-info/before.html diff --git a/tests/run-make/rustdoc-dep-info/custom_theme.css b/tests/run-make/rustdoc/dep-info/custom_theme.css similarity index 100% rename from tests/run-make/rustdoc-dep-info/custom_theme.css rename to tests/run-make/rustdoc/dep-info/custom_theme.css diff --git a/tests/run-make/rustdoc-dep-info/doc.md b/tests/run-make/rustdoc/dep-info/doc.md similarity index 100% rename from tests/run-make/rustdoc-dep-info/doc.md rename to tests/run-make/rustdoc/dep-info/doc.md diff --git a/tests/run-make/rustdoc-dep-info/example.md b/tests/run-make/rustdoc/dep-info/example.md similarity index 100% rename from tests/run-make/rustdoc-dep-info/example.md rename to tests/run-make/rustdoc/dep-info/example.md diff --git a/tests/run-make/rustdoc-dep-info/extend.css b/tests/run-make/rustdoc/dep-info/extend.css similarity index 100% rename from tests/run-make/rustdoc-dep-info/extend.css rename to tests/run-make/rustdoc/dep-info/extend.css diff --git a/tests/run-make/rustdoc-dep-info/foo.rs b/tests/run-make/rustdoc/dep-info/foo.rs similarity index 100% rename from tests/run-make/rustdoc-dep-info/foo.rs rename to tests/run-make/rustdoc/dep-info/foo.rs diff --git a/tests/run-make/rustdoc-dep-info/index-page.md b/tests/run-make/rustdoc/dep-info/index-page.md similarity index 100% rename from tests/run-make/rustdoc-dep-info/index-page.md rename to tests/run-make/rustdoc/dep-info/index-page.md diff --git a/tests/run-make/rustdoc-dep-info/lib.rs b/tests/run-make/rustdoc/dep-info/lib.rs similarity index 100% rename from tests/run-make/rustdoc-dep-info/lib.rs rename to tests/run-make/rustdoc/dep-info/lib.rs diff --git a/tests/run-make/rustdoc-dep-info/rmake.rs b/tests/run-make/rustdoc/dep-info/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-dep-info/rmake.rs rename to tests/run-make/rustdoc/dep-info/rmake.rs diff --git a/tests/run-make/deref-impl-rustdoc-ice/bar.rs b/tests/run-make/rustdoc/deref-impl/bar.rs similarity index 100% rename from tests/run-make/deref-impl-rustdoc-ice/bar.rs rename to tests/run-make/rustdoc/deref-impl/bar.rs diff --git a/tests/run-make/deref-impl-rustdoc-ice/baz.rs b/tests/run-make/rustdoc/deref-impl/baz.rs similarity index 100% rename from tests/run-make/deref-impl-rustdoc-ice/baz.rs rename to tests/run-make/rustdoc/deref-impl/baz.rs diff --git a/tests/run-make/deref-impl-rustdoc-ice/foo.rs b/tests/run-make/rustdoc/deref-impl/foo.rs similarity index 100% rename from tests/run-make/deref-impl-rustdoc-ice/foo.rs rename to tests/run-make/rustdoc/deref-impl/foo.rs diff --git a/tests/run-make/deref-impl-rustdoc-ice/rmake.rs b/tests/run-make/rustdoc/deref-impl/rmake.rs similarity index 100% rename from tests/run-make/deref-impl-rustdoc-ice/rmake.rs rename to tests/run-make/rustdoc/deref-impl/rmake.rs diff --git a/tests/run-make/rustdoc-determinism/bar.rs b/tests/run-make/rustdoc/determinism/bar.rs similarity index 100% rename from tests/run-make/rustdoc-determinism/bar.rs rename to tests/run-make/rustdoc/determinism/bar.rs diff --git a/tests/run-make/rustdoc-io-error/foo.rs b/tests/run-make/rustdoc/determinism/foo.rs similarity index 100% rename from tests/run-make/rustdoc-io-error/foo.rs rename to tests/run-make/rustdoc/determinism/foo.rs diff --git a/tests/run-make/rustdoc-determinism/rmake.rs b/tests/run-make/rustdoc/determinism/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-determinism/rmake.rs rename to tests/run-make/rustdoc/determinism/rmake.rs diff --git a/tests/run-make/doctests-compilation-time-info/rmake.rs b/tests/run-make/rustdoc/doctest/comptime-info/rmake.rs similarity index 100% rename from tests/run-make/doctests-compilation-time-info/rmake.rs rename to tests/run-make/rustdoc/doctest/comptime-info/rmake.rs diff --git a/tests/run-make/doctests-junit/doctest-2021.xml b/tests/run-make/rustdoc/doctest/junit/doctest-2021.xml similarity index 100% rename from tests/run-make/doctests-junit/doctest-2021.xml rename to tests/run-make/rustdoc/doctest/junit/doctest-2021.xml diff --git a/tests/run-make/doctests-junit/doctest-2024.xml b/tests/run-make/rustdoc/doctest/junit/doctest-2024.xml similarity index 100% rename from tests/run-make/doctests-junit/doctest-2024.xml rename to tests/run-make/rustdoc/doctest/junit/doctest-2024.xml diff --git a/tests/run-make/doctests-junit/doctest.rs b/tests/run-make/rustdoc/doctest/junit/doctest.rs similarity index 100% rename from tests/run-make/doctests-junit/doctest.rs rename to tests/run-make/rustdoc/doctest/junit/doctest.rs diff --git a/tests/run-make/doctests-junit/rmake.rs b/tests/run-make/rustdoc/doctest/junit/rmake.rs similarity index 100% rename from tests/run-make/doctests-junit/rmake.rs rename to tests/run-make/rustdoc/doctest/junit/rmake.rs diff --git a/tests/run-make/doctests-junit/validate_junit.py b/tests/run-make/rustdoc/doctest/junit/validate_junit.py similarity index 100% rename from tests/run-make/doctests-junit/validate_junit.py rename to tests/run-make/rustdoc/doctest/junit/validate_junit.py diff --git a/tests/run-make/doctests-keep-binaries-2024/rmake.rs b/tests/run-make/rustdoc/doctest/keep-binaries-2024/rmake.rs similarity index 100% rename from tests/run-make/doctests-keep-binaries-2024/rmake.rs rename to tests/run-make/rustdoc/doctest/keep-binaries-2024/rmake.rs diff --git a/tests/run-make/doctests-keep-binaries-2024/t.rs b/tests/run-make/rustdoc/doctest/keep-binaries-2024/t.rs similarity index 100% rename from tests/run-make/doctests-keep-binaries-2024/t.rs rename to tests/run-make/rustdoc/doctest/keep-binaries-2024/t.rs diff --git a/tests/run-make/doctests-keep-binaries/rmake.rs b/tests/run-make/rustdoc/doctest/keep-binaries/rmake.rs similarity index 100% rename from tests/run-make/doctests-keep-binaries/rmake.rs rename to tests/run-make/rustdoc/doctest/keep-binaries/rmake.rs diff --git a/tests/run-make/doctests-keep-binaries/t.rs b/tests/run-make/rustdoc/doctest/keep-binaries/t.rs similarity index 100% rename from tests/run-make/doctests-keep-binaries/t.rs rename to tests/run-make/rustdoc/doctest/keep-binaries/t.rs diff --git a/tests/run-make/doctests-merge/doctest-2021.stdout b/tests/run-make/rustdoc/doctest/merge/doctest-2021.stdout similarity index 100% rename from tests/run-make/doctests-merge/doctest-2021.stdout rename to tests/run-make/rustdoc/doctest/merge/doctest-2021.stdout diff --git a/tests/run-make/doctests-merge/doctest-2024.stdout b/tests/run-make/rustdoc/doctest/merge/doctest-2024.stdout similarity index 100% rename from tests/run-make/doctests-merge/doctest-2024.stdout rename to tests/run-make/rustdoc/doctest/merge/doctest-2024.stdout diff --git a/tests/run-make/doctests-merge/doctest-standalone.rs b/tests/run-make/rustdoc/doctest/merge/doctest-standalone.rs similarity index 100% rename from tests/run-make/doctests-merge/doctest-standalone.rs rename to tests/run-make/rustdoc/doctest/merge/doctest-standalone.rs diff --git a/tests/run-make/doctests-merge/doctest-standalone.stdout b/tests/run-make/rustdoc/doctest/merge/doctest-standalone.stdout similarity index 100% rename from tests/run-make/doctests-merge/doctest-standalone.stdout rename to tests/run-make/rustdoc/doctest/merge/doctest-standalone.stdout diff --git a/tests/run-make/doctests-merge/doctest.rs b/tests/run-make/rustdoc/doctest/merge/doctest.rs similarity index 100% rename from tests/run-make/doctests-merge/doctest.rs rename to tests/run-make/rustdoc/doctest/merge/doctest.rs diff --git a/tests/run-make/doctests-merge/rmake.rs b/tests/run-make/rustdoc/doctest/merge/rmake.rs similarity index 100% rename from tests/run-make/doctests-merge/rmake.rs rename to tests/run-make/rustdoc/doctest/merge/rmake.rs diff --git a/tests/run-make/rustdoc-doctest-output-format/file.rs b/tests/run-make/rustdoc/doctest/output-format/file.rs similarity index 100% rename from tests/run-make/rustdoc-doctest-output-format/file.rs rename to tests/run-make/rustdoc/doctest/output-format/file.rs diff --git a/tests/run-make/rustdoc-doctest-output-format/rmake.rs b/tests/run-make/rustdoc/doctest/output-format/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-doctest-output-format/rmake.rs rename to tests/run-make/rustdoc/doctest/output-format/rmake.rs diff --git a/tests/run-make/doctests-runtool/rmake.rs b/tests/run-make/rustdoc/doctest/runtool/rmake.rs similarity index 100% rename from tests/run-make/doctests-runtool/rmake.rs rename to tests/run-make/rustdoc/doctest/runtool/rmake.rs diff --git a/tests/run-make/doctests-runtool/runtool.rs b/tests/run-make/rustdoc/doctest/runtool/runtool.rs similarity index 100% rename from tests/run-make/doctests-runtool/runtool.rs rename to tests/run-make/rustdoc/doctest/runtool/runtool.rs diff --git a/tests/run-make/doctests-runtool/t.rs b/tests/run-make/rustdoc/doctest/runtool/t.rs similarity index 100% rename from tests/run-make/doctests-runtool/t.rs rename to tests/run-make/rustdoc/doctest/runtool/t.rs diff --git a/tests/run-make/rustdoc-tempdir-removal/compile-error.rs b/tests/run-make/rustdoc/doctest/tempdir-removal/compile-error.rs similarity index 100% rename from tests/run-make/rustdoc-tempdir-removal/compile-error.rs rename to tests/run-make/rustdoc/doctest/tempdir-removal/compile-error.rs diff --git a/tests/run-make/rustdoc-tempdir-removal/rmake.rs b/tests/run-make/rustdoc/doctest/tempdir-removal/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-tempdir-removal/rmake.rs rename to tests/run-make/rustdoc/doctest/tempdir-removal/rmake.rs diff --git a/tests/run-make/rustdoc-tempdir-removal/run-error.rs b/tests/run-make/rustdoc/doctest/tempdir-removal/run-error.rs similarity index 100% rename from tests/run-make/rustdoc-tempdir-removal/run-error.rs rename to tests/run-make/rustdoc/doctest/tempdir-removal/run-error.rs diff --git a/tests/run-make/rustdoc-test-args/foo.rs b/tests/run-make/rustdoc/doctest/test-args/foo.rs similarity index 100% rename from tests/run-make/rustdoc-test-args/foo.rs rename to tests/run-make/rustdoc/doctest/test-args/foo.rs diff --git a/tests/run-make/rustdoc-test-args/rmake.rs b/tests/run-make/rustdoc/doctest/test-args/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-test-args/rmake.rs rename to tests/run-make/rustdoc/doctest/test-args/rmake.rs diff --git a/tests/run-make/rustdoc-test-builder/builder.rs b/tests/run-make/rustdoc/doctest/test-builder/builder.rs similarity index 100% rename from tests/run-make/rustdoc-test-builder/builder.rs rename to tests/run-make/rustdoc/doctest/test-builder/builder.rs diff --git a/tests/run-make/rustdoc-test-builder/doctest.rs b/tests/run-make/rustdoc/doctest/test-builder/doctest.rs similarity index 100% rename from tests/run-make/rustdoc-test-builder/doctest.rs rename to tests/run-make/rustdoc/doctest/test-builder/doctest.rs diff --git a/tests/run-make/rustdoc-test-builder/foo.rs b/tests/run-make/rustdoc/doctest/test-builder/foo.rs similarity index 100% rename from tests/run-make/rustdoc-test-builder/foo.rs rename to tests/run-make/rustdoc/doctest/test-builder/foo.rs diff --git a/tests/run-make/rustdoc-test-builder/rmake.rs b/tests/run-make/rustdoc/doctest/test-builder/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-test-builder/rmake.rs rename to tests/run-make/rustdoc/doctest/test-builder/rmake.rs diff --git a/tests/run-make/doctests-test_harness/doctests.rs b/tests/run-make/rustdoc/doctest/test_harness/doctests.rs similarity index 100% rename from tests/run-make/doctests-test_harness/doctests.rs rename to tests/run-make/rustdoc/doctest/test_harness/doctests.rs diff --git a/tests/run-make/doctests-test_harness/doctests.stdout b/tests/run-make/rustdoc/doctest/test_harness/doctests.stdout similarity index 100% rename from tests/run-make/doctests-test_harness/doctests.stdout rename to tests/run-make/rustdoc/doctest/test_harness/doctests.stdout diff --git a/tests/run-make/doctests-test_harness/rmake.rs b/tests/run-make/rustdoc/doctest/test_harness/rmake.rs similarity index 100% rename from tests/run-make/doctests-test_harness/rmake.rs rename to tests/run-make/rustdoc/doctest/test_harness/rmake.rs diff --git a/tests/run-make/doctests-test_harness/runtool.rs b/tests/run-make/rustdoc/doctest/test_harness/runtool.rs similarity index 100% rename from tests/run-make/doctests-test_harness/runtool.rs rename to tests/run-make/rustdoc/doctest/test_harness/runtool.rs diff --git a/tests/run-make/rustdoc-error-lines/input.rs b/tests/run-make/rustdoc/error-lines/input.rs similarity index 100% rename from tests/run-make/rustdoc-error-lines/input.rs rename to tests/run-make/rustdoc/error-lines/input.rs diff --git a/tests/run-make/rustdoc-error-lines/rmake.rs b/tests/run-make/rustdoc/error-lines/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-error-lines/rmake.rs rename to tests/run-make/rustdoc/error-lines/rmake.rs diff --git a/tests/run-make/rustdoc-shared-flags/rmake.rs b/tests/run-make/rustdoc/flag-namespaces-from-rustc/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-shared-flags/rmake.rs rename to tests/run-make/rustdoc/flag-namespaces-from-rustc/rmake.rs diff --git a/tests/run-make/rustdoc-output-path/foo.rs b/tests/run-make/rustdoc/io-error/foo.rs similarity index 100% rename from tests/run-make/rustdoc-output-path/foo.rs rename to tests/run-make/rustdoc/io-error/foo.rs diff --git a/tests/run-make/rustdoc-io-error/rmake.rs b/tests/run-make/rustdoc/io-error/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-io-error/rmake.rs rename to tests/run-make/rustdoc/io-error/rmake.rs diff --git a/tests/run-make/rustdoc-json-external-crate-path/dep.rs b/tests/run-make/rustdoc/json-external-crate-path/dep.rs similarity index 100% rename from tests/run-make/rustdoc-json-external-crate-path/dep.rs rename to tests/run-make/rustdoc/json-external-crate-path/dep.rs diff --git a/tests/run-make/rustdoc-json-external-crate-path/entry.rs b/tests/run-make/rustdoc/json-external-crate-path/entry.rs similarity index 100% rename from tests/run-make/rustdoc-json-external-crate-path/entry.rs rename to tests/run-make/rustdoc/json-external-crate-path/entry.rs diff --git a/tests/run-make/rustdoc-json-external-crate-path/rmake.rs b/tests/run-make/rustdoc/json-external-crate-path/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-json-external-crate-path/rmake.rs rename to tests/run-make/rustdoc/json-external-crate-path/rmake.rs diff --git a/tests/run-make/rustdoc-json-external-crate-path/trans_dep.rs b/tests/run-make/rustdoc/json-external-crate-path/trans_dep.rs similarity index 100% rename from tests/run-make/rustdoc-json-external-crate-path/trans_dep.rs rename to tests/run-make/rustdoc/json-external-crate-path/trans_dep.rs diff --git a/tests/run-make/rustdoc-output-stdout/foo.rs b/tests/run-make/rustdoc/json-output-stdout/foo.rs similarity index 100% rename from tests/run-make/rustdoc-output-stdout/foo.rs rename to tests/run-make/rustdoc/json-output-stdout/foo.rs diff --git a/tests/run-make/rustdoc-output-stdout/rmake.rs b/tests/run-make/rustdoc/json-output-stdout/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-output-stdout/rmake.rs rename to tests/run-make/rustdoc/json-output-stdout/rmake.rs diff --git a/tests/run-make/rustdoc-map-file/expected.json b/tests/run-make/rustdoc/map-file/expected.json similarity index 100% rename from tests/run-make/rustdoc-map-file/expected.json rename to tests/run-make/rustdoc/map-file/expected.json diff --git a/tests/run-make/rustdoc-map-file/foo.rs b/tests/run-make/rustdoc/map-file/foo.rs similarity index 100% rename from tests/run-make/rustdoc-map-file/foo.rs rename to tests/run-make/rustdoc/map-file/foo.rs diff --git a/tests/run-make/rustdoc-map-file/rmake.rs b/tests/run-make/rustdoc/map-file/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-map-file/rmake.rs rename to tests/run-make/rustdoc/map-file/rmake.rs diff --git a/tests/run-make/rustdoc-merge-directory-alias/dep1.rs b/tests/run-make/rustdoc/merge-dir-alias/dep1.rs similarity index 100% rename from tests/run-make/rustdoc-merge-directory-alias/dep1.rs rename to tests/run-make/rustdoc/merge-dir-alias/dep1.rs diff --git a/tests/run-make/rustdoc-merge-directory-alias/dep2.rs b/tests/run-make/rustdoc/merge-dir-alias/dep2.rs similarity index 100% rename from tests/run-make/rustdoc-merge-directory-alias/dep2.rs rename to tests/run-make/rustdoc/merge-dir-alias/dep2.rs diff --git a/tests/run-make/rustdoc-merge-directory-alias/dep_missing.rs b/tests/run-make/rustdoc/merge-dir-alias/dep_missing.rs similarity index 100% rename from tests/run-make/rustdoc-merge-directory-alias/dep_missing.rs rename to tests/run-make/rustdoc/merge-dir-alias/dep_missing.rs diff --git a/tests/run-make/rustdoc-merge-directory-alias/rmake.rs b/tests/run-make/rustdoc/merge-dir-alias/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-merge-directory-alias/rmake.rs rename to tests/run-make/rustdoc/merge-dir-alias/rmake.rs diff --git a/tests/run-make/rustdoc-merge-directory/dep1.rs b/tests/run-make/rustdoc/merge-dir/dep1.rs similarity index 100% rename from tests/run-make/rustdoc-merge-directory/dep1.rs rename to tests/run-make/rustdoc/merge-dir/dep1.rs diff --git a/tests/run-make/rustdoc-merge-directory/dep2.rs b/tests/run-make/rustdoc/merge-dir/dep2.rs similarity index 100% rename from tests/run-make/rustdoc-merge-directory/dep2.rs rename to tests/run-make/rustdoc/merge-dir/dep2.rs diff --git a/tests/run-make/rustdoc-merge-directory/dep_missing.rs b/tests/run-make/rustdoc/merge-dir/dep_missing.rs similarity index 100% rename from tests/run-make/rustdoc-merge-directory/dep_missing.rs rename to tests/run-make/rustdoc/merge-dir/dep_missing.rs diff --git a/tests/run-make/rustdoc-merge-directory/rmake.rs b/tests/run-make/rustdoc/merge-dir/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-merge-directory/rmake.rs rename to tests/run-make/rustdoc/merge-dir/rmake.rs diff --git a/tests/run-make/rustdoc-merge-no-input-finalize/rmake.rs b/tests/run-make/rustdoc/merge-no-input-finalize/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-merge-no-input-finalize/rmake.rs rename to tests/run-make/rustdoc/merge-no-input-finalize/rmake.rs diff --git a/tests/run-make/rustdoc-merge-no-input-finalize/sierra.rs b/tests/run-make/rustdoc/merge-no-input-finalize/sierra.rs similarity index 100% rename from tests/run-make/rustdoc-merge-no-input-finalize/sierra.rs rename to tests/run-make/rustdoc/merge-no-input-finalize/sierra.rs diff --git a/tests/run-make/rustdoc-with-short-out-dir-option/rmake.rs b/tests/run-make/rustdoc/out-dir-option-short/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-with-short-out-dir-option/rmake.rs rename to tests/run-make/rustdoc/out-dir-option-short/rmake.rs diff --git a/tests/run-make/rustdoc-with-out-dir-option/src/lib.rs b/tests/run-make/rustdoc/out-dir-option-short/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-with-out-dir-option/src/lib.rs rename to tests/run-make/rustdoc/out-dir-option-short/src/lib.rs diff --git a/tests/run-make/rustdoc-with-out-dir-option/rmake.rs b/tests/run-make/rustdoc/out-dir-option/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-with-out-dir-option/rmake.rs rename to tests/run-make/rustdoc/out-dir-option/rmake.rs diff --git a/tests/run-make/rustdoc-with-output-option/src/lib.rs b/tests/run-make/rustdoc/out-dir-option/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-with-output-option/src/lib.rs rename to tests/run-make/rustdoc/out-dir-option/src/lib.rs diff --git a/tests/run-make/rustdoc-with-output-option/rmake.rs b/tests/run-make/rustdoc/output-option/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-with-output-option/rmake.rs rename to tests/run-make/rustdoc/output-option/rmake.rs diff --git a/tests/run-make/rustdoc-with-short-out-dir-option/src/lib.rs b/tests/run-make/rustdoc/output-option/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-with-short-out-dir-option/src/lib.rs rename to tests/run-make/rustdoc/output-option/src/lib.rs diff --git a/tests/run-make/rustdoc-scrape-examples-dep-info/examples/ex.rs b/tests/run-make/rustdoc/scrape-examples/dep-info/examples/ex.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-dep-info/examples/ex.rs rename to tests/run-make/rustdoc/scrape-examples/dep-info/examples/ex.rs diff --git a/tests/run-make/rustdoc-scrape-examples-dep-info/rmake.rs b/tests/run-make/rustdoc/scrape-examples/dep-info/rmake.rs similarity index 90% rename from tests/run-make/rustdoc-scrape-examples-dep-info/rmake.rs rename to tests/run-make/rustdoc/scrape-examples/dep-info/rmake.rs index 5a612fd130052..e64468fe06c8e 100644 --- a/tests/run-make/rustdoc-scrape-examples-dep-info/rmake.rs +++ b/tests/run-make/rustdoc/scrape-examples/dep-info/rmake.rs @@ -1,7 +1,7 @@ //@ needs-target-std use run_make_support::{assert_contains, rfs}; -#[path = "../rustdoc-scrape-examples-remap/scrape.rs"] +#[path = "../remap/scrape.rs"] mod scrape; fn main() { diff --git a/tests/run-make/rustdoc-scrape-examples-dep-info/src/lib.rs b/tests/run-make/rustdoc/scrape-examples/dep-info/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-dep-info/src/lib.rs rename to tests/run-make/rustdoc/scrape-examples/dep-info/src/lib.rs diff --git a/tests/run-make/rustdoc-scrape-examples-invalid-expr/examples/ex.rs b/tests/run-make/rustdoc/scrape-examples/invalid-expr/examples/ex.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-invalid-expr/examples/ex.rs rename to tests/run-make/rustdoc/scrape-examples/invalid-expr/examples/ex.rs diff --git a/tests/run-make/rustdoc-scrape-examples-whitespace/rmake.rs b/tests/run-make/rustdoc/scrape-examples/invalid-expr/rmake.rs similarity index 58% rename from tests/run-make/rustdoc-scrape-examples-whitespace/rmake.rs rename to tests/run-make/rustdoc/scrape-examples/invalid-expr/rmake.rs index 38943b663c420..e4ae84447eb96 100644 --- a/tests/run-make/rustdoc-scrape-examples-whitespace/rmake.rs +++ b/tests/run-make/rustdoc/scrape-examples/invalid-expr/rmake.rs @@ -1,5 +1,5 @@ //@ needs-target-std -#[path = "../rustdoc-scrape-examples-remap/scrape.rs"] +#[path = "../remap/scrape.rs"] mod scrape; fn main() { diff --git a/tests/run-make/rustdoc-scrape-examples-invalid-expr/src/lib.rs b/tests/run-make/rustdoc/scrape-examples/invalid-expr/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-invalid-expr/src/lib.rs rename to tests/run-make/rustdoc/scrape-examples/invalid-expr/src/lib.rs diff --git a/tests/run-make/rustdoc-scrape-examples-macros/examples/ex.rs b/tests/run-make/rustdoc/scrape-examples/macros/examples/ex.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-macros/examples/ex.rs rename to tests/run-make/rustdoc/scrape-examples/macros/examples/ex.rs diff --git a/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs b/tests/run-make/rustdoc/scrape-examples/macros/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-macros/rmake.rs rename to tests/run-make/rustdoc/scrape-examples/macros/rmake.rs diff --git a/tests/run-make/rustdoc-scrape-examples-macros/src/lib.rs b/tests/run-make/rustdoc/scrape-examples/macros/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-macros/src/lib.rs rename to tests/run-make/rustdoc/scrape-examples/macros/src/lib.rs diff --git a/tests/run-make/rustdoc-scrape-examples-macros/src/proc.rs b/tests/run-make/rustdoc/scrape-examples/macros/src/proc.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-macros/src/proc.rs rename to tests/run-make/rustdoc/scrape-examples/macros/src/proc.rs diff --git a/tests/run-make/rustdoc-scrape-examples-multiple/examples/ex.rs b/tests/run-make/rustdoc/scrape-examples/multiple/examples/ex.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-multiple/examples/ex.rs rename to tests/run-make/rustdoc/scrape-examples/multiple/examples/ex.rs diff --git a/tests/run-make/rustdoc-scrape-examples-multiple/examples/ex2.rs b/tests/run-make/rustdoc/scrape-examples/multiple/examples/ex2.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-multiple/examples/ex2.rs rename to tests/run-make/rustdoc/scrape-examples/multiple/examples/ex2.rs diff --git a/tests/run-make/rustdoc-scrape-examples-invalid-expr/rmake.rs b/tests/run-make/rustdoc/scrape-examples/multiple/rmake.rs similarity index 58% rename from tests/run-make/rustdoc-scrape-examples-invalid-expr/rmake.rs rename to tests/run-make/rustdoc/scrape-examples/multiple/rmake.rs index 38943b663c420..e4ae84447eb96 100644 --- a/tests/run-make/rustdoc-scrape-examples-invalid-expr/rmake.rs +++ b/tests/run-make/rustdoc/scrape-examples/multiple/rmake.rs @@ -1,5 +1,5 @@ //@ needs-target-std -#[path = "../rustdoc-scrape-examples-remap/scrape.rs"] +#[path = "../remap/scrape.rs"] mod scrape; fn main() { diff --git a/tests/run-make/rustdoc-scrape-examples-multiple/src/lib.rs b/tests/run-make/rustdoc/scrape-examples/multiple/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-multiple/src/lib.rs rename to tests/run-make/rustdoc/scrape-examples/multiple/src/lib.rs diff --git a/tests/run-make/rustdoc-scrape-examples-ordering/examples/ex1.rs b/tests/run-make/rustdoc/scrape-examples/ordering/examples/ex1.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-ordering/examples/ex1.rs rename to tests/run-make/rustdoc/scrape-examples/ordering/examples/ex1.rs diff --git a/tests/run-make/rustdoc-scrape-examples-ordering/examples/ex2.rs b/tests/run-make/rustdoc/scrape-examples/ordering/examples/ex2.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-ordering/examples/ex2.rs rename to tests/run-make/rustdoc/scrape-examples/ordering/examples/ex2.rs diff --git a/tests/run-make/rustdoc-scrape-examples-multiple/rmake.rs b/tests/run-make/rustdoc/scrape-examples/ordering/rmake.rs similarity index 58% rename from tests/run-make/rustdoc-scrape-examples-multiple/rmake.rs rename to tests/run-make/rustdoc/scrape-examples/ordering/rmake.rs index 38943b663c420..e4ae84447eb96 100644 --- a/tests/run-make/rustdoc-scrape-examples-multiple/rmake.rs +++ b/tests/run-make/rustdoc/scrape-examples/ordering/rmake.rs @@ -1,5 +1,5 @@ //@ needs-target-std -#[path = "../rustdoc-scrape-examples-remap/scrape.rs"] +#[path = "../remap/scrape.rs"] mod scrape; fn main() { diff --git a/tests/run-make/rustdoc-scrape-examples-ordering/src/lib.rs b/tests/run-make/rustdoc/scrape-examples/ordering/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-ordering/src/lib.rs rename to tests/run-make/rustdoc/scrape-examples/ordering/src/lib.rs diff --git a/tests/run-make/rustdoc-scrape-examples-remap/examples/ex.rs b/tests/run-make/rustdoc/scrape-examples/remap/examples/ex.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-remap/examples/ex.rs rename to tests/run-make/rustdoc/scrape-examples/remap/examples/ex.rs diff --git a/tests/run-make/rustdoc-scrape-examples-remap/rmake.rs b/tests/run-make/rustdoc/scrape-examples/remap/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-remap/rmake.rs rename to tests/run-make/rustdoc/scrape-examples/remap/rmake.rs diff --git a/tests/run-make/rustdoc-scrape-examples-remap/scrape.rs b/tests/run-make/rustdoc/scrape-examples/remap/scrape.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-remap/scrape.rs rename to tests/run-make/rustdoc/scrape-examples/remap/scrape.rs diff --git a/tests/run-make/rustdoc-scrape-examples-remap/src/a.rs b/tests/run-make/rustdoc/scrape-examples/remap/src/a.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-remap/src/a.rs rename to tests/run-make/rustdoc/scrape-examples/remap/src/a.rs diff --git a/tests/run-make/rustdoc-scrape-examples-remap/src/lib.rs b/tests/run-make/rustdoc/scrape-examples/remap/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-remap/src/lib.rs rename to tests/run-make/rustdoc/scrape-examples/remap/src/lib.rs diff --git a/tests/run-make/rustdoc-scrape-examples-test/examples/ex.rs b/tests/run-make/rustdoc/scrape-examples/test/examples/ex.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-test/examples/ex.rs rename to tests/run-make/rustdoc/scrape-examples/test/examples/ex.rs diff --git a/tests/run-make/rustdoc-scrape-examples-test/rmake.rs b/tests/run-make/rustdoc/scrape-examples/test/rmake.rs similarity index 63% rename from tests/run-make/rustdoc-scrape-examples-test/rmake.rs rename to tests/run-make/rustdoc/scrape-examples/test/rmake.rs index c0c4df91d517d..88d72df2314de 100644 --- a/tests/run-make/rustdoc-scrape-examples-test/rmake.rs +++ b/tests/run-make/rustdoc/scrape-examples/test/rmake.rs @@ -1,5 +1,5 @@ //@ needs-target-std -#[path = "../rustdoc-scrape-examples-remap/scrape.rs"] +#[path = "../remap/scrape.rs"] mod scrape; fn main() { diff --git a/tests/run-make/rustdoc-scrape-examples-test/src/lib.rs b/tests/run-make/rustdoc/scrape-examples/test/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-test/src/lib.rs rename to tests/run-make/rustdoc/scrape-examples/test/src/lib.rs diff --git a/tests/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs b/tests/run-make/rustdoc/scrape-examples/whitespace/examples/ex.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-whitespace/examples/ex.rs rename to tests/run-make/rustdoc/scrape-examples/whitespace/examples/ex.rs diff --git a/tests/run-make/rustdoc-scrape-examples-ordering/rmake.rs b/tests/run-make/rustdoc/scrape-examples/whitespace/rmake.rs similarity index 58% rename from tests/run-make/rustdoc-scrape-examples-ordering/rmake.rs rename to tests/run-make/rustdoc/scrape-examples/whitespace/rmake.rs index 38943b663c420..e4ae84447eb96 100644 --- a/tests/run-make/rustdoc-scrape-examples-ordering/rmake.rs +++ b/tests/run-make/rustdoc/scrape-examples/whitespace/rmake.rs @@ -1,5 +1,5 @@ //@ needs-target-std -#[path = "../rustdoc-scrape-examples-remap/scrape.rs"] +#[path = "../remap/scrape.rs"] mod scrape; fn main() { diff --git a/tests/run-make/rustdoc-scrape-examples-whitespace/src/lib.rs b/tests/run-make/rustdoc/scrape-examples/whitespace/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-scrape-examples-whitespace/src/lib.rs rename to tests/run-make/rustdoc/scrape-examples/whitespace/src/lib.rs diff --git a/tests/run-make/rustdoc-search-load-itemtype/bar.rs b/tests/run-make/rustdoc/search-load-itemtype/bar.rs similarity index 100% rename from tests/run-make/rustdoc-search-load-itemtype/bar.rs rename to tests/run-make/rustdoc/search-load-itemtype/bar.rs diff --git a/tests/run-make/rustdoc-search-load-itemtype/baz.rs b/tests/run-make/rustdoc/search-load-itemtype/baz.rs similarity index 100% rename from tests/run-make/rustdoc-search-load-itemtype/baz.rs rename to tests/run-make/rustdoc/search-load-itemtype/baz.rs diff --git a/tests/run-make/rustdoc-search-load-itemtype/foo.rs b/tests/run-make/rustdoc/search-load-itemtype/foo.rs similarity index 100% rename from tests/run-make/rustdoc-search-load-itemtype/foo.rs rename to tests/run-make/rustdoc/search-load-itemtype/foo.rs diff --git a/tests/run-make/rustdoc-search-load-itemtype/rmake.rs b/tests/run-make/rustdoc/search-load-itemtype/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-search-load-itemtype/rmake.rs rename to tests/run-make/rustdoc/search-load-itemtype/rmake.rs diff --git a/tests/run-make/stdin-rustdoc/rmake.rs b/tests/run-make/rustdoc/stdin/rmake.rs similarity index 100% rename from tests/run-make/stdin-rustdoc/rmake.rs rename to tests/run-make/rustdoc/stdin/rmake.rs diff --git a/tests/run-make/rustdoc-target-modifiers/c.rs b/tests/run-make/rustdoc/target-modifiers/c.rs similarity index 100% rename from tests/run-make/rustdoc-target-modifiers/c.rs rename to tests/run-make/rustdoc/target-modifiers/c.rs diff --git a/tests/run-make/rustdoc-target-modifiers/d.rs b/tests/run-make/rustdoc/target-modifiers/d.rs similarity index 100% rename from tests/run-make/rustdoc-target-modifiers/d.rs rename to tests/run-make/rustdoc/target-modifiers/d.rs diff --git a/tests/run-make/rustdoc-target-modifiers/rmake.rs b/tests/run-make/rustdoc/target-modifiers/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-target-modifiers/rmake.rs rename to tests/run-make/rustdoc/target-modifiers/rmake.rs diff --git a/tests/run-make/rustdoc-target-spec-json-path/dummy_core.rs b/tests/run-make/rustdoc/target-spec-json-path/dummy_core.rs similarity index 100% rename from tests/run-make/rustdoc-target-spec-json-path/dummy_core.rs rename to tests/run-make/rustdoc/target-spec-json-path/dummy_core.rs diff --git a/tests/run-make/rustdoc-target-spec-json-path/my_crate.rs b/tests/run-make/rustdoc/target-spec-json-path/my_crate.rs similarity index 100% rename from tests/run-make/rustdoc-target-spec-json-path/my_crate.rs rename to tests/run-make/rustdoc/target-spec-json-path/my_crate.rs diff --git a/tests/run-make/rustdoc-target-spec-json-path/rmake.rs b/tests/run-make/rustdoc/target-spec-json-path/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-target-spec-json-path/rmake.rs rename to tests/run-make/rustdoc/target-spec-json-path/rmake.rs diff --git a/tests/run-make/rustdoc-target-spec-json-path/target.json b/tests/run-make/rustdoc/target-spec-json-path/target.json similarity index 100% rename from tests/run-make/rustdoc-target-spec-json-path/target.json rename to tests/run-make/rustdoc/target-spec-json-path/target.json diff --git a/tests/run-make/rustdoc-themes/foo.rs b/tests/run-make/rustdoc/themes/foo.rs similarity index 100% rename from tests/run-make/rustdoc-themes/foo.rs rename to tests/run-make/rustdoc/themes/foo.rs diff --git a/tests/run-make/rustdoc-themes/rmake.rs b/tests/run-make/rustdoc/themes/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-themes/rmake.rs rename to tests/run-make/rustdoc/themes/rmake.rs diff --git a/tests/run-make/rustdoc-verify-output-files/rmake.rs b/tests/run-make/rustdoc/verify-output-files/rmake.rs similarity index 100% rename from tests/run-make/rustdoc-verify-output-files/rmake.rs rename to tests/run-make/rustdoc/verify-output-files/rmake.rs diff --git a/tests/run-make/rustdoc-verify-output-files/src/lib.rs b/tests/run-make/rustdoc/verify-output-files/src/lib.rs similarity index 100% rename from tests/run-make/rustdoc-verify-output-files/src/lib.rs rename to tests/run-make/rustdoc/verify-output-files/src/lib.rs