Skip to content

Commit 29e47c2

Browse files
Rename tests/rustdoc into tests/rustdoc-html
1 parent 8a24a20 commit 29e47c2

File tree

1,064 files changed

+25
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,064 files changed

+25
-24
lines changed

rustfmt.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ignore = [
2121
"/tests/pretty/", # These tests are very sensitive to source code layout.
2222
"/tests/run-make/export", # These tests contain syntax errors.
2323
"/tests/run-make/translation/test.rs", # This test contains syntax errors.
24-
"/tests/rustdoc/", # Some have syntax errors, some are whitespace-sensitive.
24+
"/tests/rustdoc-html/", # Some have syntax errors, some are whitespace-sensitive.
2525
"/tests/rustdoc-gui/", # Some tests are sensitive to source code layout.
2626
"/tests/rustdoc-ui/", # Some have syntax errors, some are whitespace-sensitive.
2727
"/tests/ui/", # Some have syntax errors, some are whitespace-sensitive.

src/bootstrap/src/core/build_steps/test.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,9 +1583,9 @@ test!(UiFullDeps {
15831583
});
15841584

15851585
test!(Rustdoc {
1586-
path: "tests/rustdoc",
1586+
path: "tests/rustdoc-html",
15871587
mode: CompiletestMode::Rustdoc,
1588-
suite: "rustdoc",
1588+
suite: "rustdoc-html",
15891589
default: true,
15901590
IS_HOST: true,
15911591
});
@@ -2758,7 +2758,7 @@ impl Step for ErrorIndex {
27582758
fn make_run(run: RunConfig<'_>) {
27592759
// error_index_generator depends on librustdoc. Use the compiler that
27602760
// is normally used to build rustdoc for other tests (like compiletest
2761-
// tests in tests/rustdoc) so that it shares the same artifacts.
2761+
// tests in tests/rustdoc-html) so that it shares the same artifacts.
27622762
let compilers = RustcPrivateCompilers::new(
27632763
run.builder,
27642764
run.builder.top_stage,
@@ -3159,7 +3159,7 @@ impl Step for CrateRustdoc {
31593159
builder.compiler(builder.top_stage, target)
31603160
} else {
31613161
// Use the previous stage compiler to reuse the artifacts that are
3162-
// created when running compiletest for tests/rustdoc. If this used
3162+
// created when running compiletest for tests/rustdoc-html. If this used
31633163
// `compiler`, then it would cause rustdoc to be built *again*, which
31643164
// isn't really necessary.
31653165
builder.compiler_for(builder.top_stage, target, target)

src/bootstrap/src/core/builder/cli_paths.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ pub(crate) const PATH_REMAP: &[(&str, &[&str])] = &[
3131
"tests/pretty",
3232
"tests/run-make",
3333
"tests/run-make-cargo",
34-
"tests/rustdoc",
3534
"tests/rustdoc-gui",
35+
"tests/rustdoc-html",
3636
"tests/rustdoc-js",
3737
"tests/rustdoc-js-std",
3838
"tests/rustdoc-json",

src/bootstrap/src/core/builder/cli_paths/snapshots/x_test.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ expression: test
4040
- Suite(test::tests/ui-fulldeps)
4141
[Test] test::Rustdoc
4242
targets: [x86_64-unknown-linux-gnu]
43-
- Suite(test::tests/rustdoc)
43+
- Suite(test::tests/rustdoc-html)
4444
[Test] test::CoverageRunRustdoc
4545
targets: [x86_64-unknown-linux-gnu]
4646
- Suite(test::tests/coverage-run-rustdoc)

src/bootstrap/src/core/builder/cli_paths/snapshots/x_test_librustdoc_rustdoc.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ expression: test librustdoc rustdoc
77
- Set({test::src/librustdoc, test::src/tools/rustdoc})
88
[Test] test::Rustdoc
99
targets: [x86_64-unknown-linux-gnu]
10-
- Suite(test::tests/rustdoc)
10+
- Suite(test::tests/rustdoc-html)
1111
[Test] test::RustdocBook
1212
targets: [x86_64-unknown-linux-gnu]
1313
- Set({test::src/doc/rustdoc})

src/bootstrap/src/core/builder/cli_paths/snapshots/x_test_rustdoc.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ expression: test rustdoc
44
---
55
[Test] test::Rustdoc
66
targets: [x86_64-unknown-linux-gnu]
7-
- Suite(test::tests/rustdoc)
7+
- Suite(test::tests/rustdoc-html)
88
[Test] test::CrateRustdoc
99
targets: [x86_64-unknown-linux-gnu]
1010
- Set({test::src/tools/rustdoc})

src/bootstrap/src/core/builder/cli_paths/snapshots/x_test_skip_coverage.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ expression: test --skip=coverage
3939
- Suite(test::tests/ui-fulldeps)
4040
[Test] test::Rustdoc
4141
targets: [x86_64-unknown-linux-gnu]
42-
- Suite(test::tests/rustdoc)
42+
- Suite(test::tests/rustdoc-html)
4343
[Test] test::CoverageRunRustdoc
4444
targets: [x86_64-unknown-linux-gnu]
4545
- Suite(test::tests/coverage-run-rustdoc)

src/bootstrap/src/core/builder/cli_paths/snapshots/x_test_tests.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ expression: test tests
4040
- Suite(test::tests/run-make-cargo)
4141
[Test] test::Rustdoc
4242
targets: [x86_64-unknown-linux-gnu]
43-
- Suite(test::tests/rustdoc)
43+
- Suite(test::tests/rustdoc-html)
4444
[Test] test::RustdocGUI
4545
targets: [x86_64-unknown-linux-gnu]
4646
- Suite(test::tests/rustdoc-gui)

src/bootstrap/src/core/builder/cli_paths/snapshots/x_test_tests_skip_coverage.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ expression: test tests --skip=coverage
3737
- Suite(test::tests/run-make-cargo)
3838
[Test] test::Rustdoc
3939
targets: [x86_64-unknown-linux-gnu]
40-
- Suite(test::tests/rustdoc)
40+
- Suite(test::tests/rustdoc-html)
4141
[Test] test::RustdocGUI
4242
targets: [x86_64-unknown-linux-gnu]
4343
- Suite(test::tests/rustdoc-gui)

src/ci/citool/tests/test-jobs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runners:
2727
<<: *base-job
2828
envs:
2929
env-x86_64-apple-tests: &env-x86_64-apple-tests
30-
SCRIPT: ./x.py check compiletest && ./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc -- --exact
30+
SCRIPT: ./x.py check compiletest && ./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc-html -- --exact
3131
RUST_CONFIGURE_ARGS: --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc
3232
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
3333
# Ensure that host tooling is tested on our minimum supported macOS version.

0 commit comments

Comments
 (0)