File tree 2 files changed +10
-13
lines changed
2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -546,9 +546,7 @@ mod dist {
546
546
) ;
547
547
}
548
548
549
- //FIXME(mark-i-m): reinstate this test when things are fixed...
550
- //#[test]
551
- #[ allow( dead_code) ]
549
+ #[ test]
552
550
fn test_docs ( ) {
553
551
// Behavior of `x.py test` doing various documentation tests.
554
552
let mut config = configure ( & [ ] , & [ ] ) ;
Original file line number Diff line number Diff line change @@ -106,19 +106,18 @@ impl Step for Linkcheck {
106
106
///
107
107
/// This tool in `src/tools` will verify the validity of all our links in the
108
108
/// documentation to ensure we don't have a bunch of dead ones.
109
- fn run ( self , _builder : & Builder < ' _ > ) {
110
- // FIXME(mark-i-m): uncomment this after we fix the links...
111
- // let host = self.host;
109
+ fn run ( self , builder : & Builder < ' _ > ) {
110
+ let host = self . host ;
112
111
113
- // builder.info(&format!("Linkcheck ({})", host));
112
+ builder. info ( & format ! ( "Linkcheck ({})" , host) ) ;
114
113
115
- // builder.default_doc(None);
114
+ builder. default_doc ( None ) ;
116
115
117
- // let _time = util::timeit(&builder);
118
- // try_run(
119
- // builder,
120
- // builder.tool_cmd(Tool::Linkchecker).arg(builder.out.join(host.triple).join("doc")),
121
- // );
116
+ let _time = util:: timeit ( & builder) ;
117
+ try_run (
118
+ builder,
119
+ builder. tool_cmd ( Tool :: Linkchecker ) . arg ( builder. out . join ( host. triple ) . join ( "doc" ) ) ,
120
+ ) ;
122
121
}
123
122
124
123
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
You can’t perform that action at this time.
0 commit comments