Skip to content

Commit 7374789

Browse files
committed
Support x check rustdoc-gui-test
This is useful for ensuring that changes to compiletest haven't broken rustdoc-gui-test.
1 parent bd34871 commit 7374789

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/bootstrap/src/core/build_steps/check.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,15 @@ tool_check_step!(Compiletest {
821821
default: false,
822822
});
823823

824+
// As with compiletest, rustdoc-gui-test is automatically built when running
825+
// relevant tests. So being able to check it is mainly useful for people
826+
// working on on rustdoc-gui-test itself, or on its compiletest dependency.
827+
tool_check_step!(RustdocGuiTest {
828+
path: "src/tools/rustdoc-gui-test",
829+
mode: Mode::ToolBootstrap,
830+
default: false,
831+
});
832+
824833
tool_check_step!(Linkchecker {
825834
path: "src/tools/linkchecker",
826835
mode: Mode::ToolBootstrap,

src/bootstrap/src/core/builder/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,7 @@ impl<'a> Builder<'a> {
10711071
check::Bootstrap,
10721072
check::RunMakeSupport,
10731073
check::Compiletest,
1074+
check::RustdocGuiTest,
10741075
check::FeaturesStatusDump,
10751076
check::CoverageDump,
10761077
check::Linkchecker,

0 commit comments

Comments
 (0)