Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/doc/rustc-dev-guide/src/tests/compiletest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ needs-target-std
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
#[path = "../remap/scrape.rs"]
mod scrape;

fn main() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ needs-target-std
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
#[path = "../remap/scrape.rs"]
mod scrape;

fn main() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ needs-target-std
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
#[path = "../remap/scrape.rs"]
mod scrape;

fn main() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ needs-target-std
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
#[path = "../remap/scrape.rs"]
mod scrape;

fn main() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ needs-target-std
#[path = "../rustdoc-scrape-examples-remap/scrape.rs"]
#[path = "../remap/scrape.rs"]
mod scrape;

fn main() {
Expand Down
Loading