This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +10
-12
lines changed
rustdoc-scrape-examples-ordering
rustdoc-with-out-dir-option Expand file tree Collapse file tree 6 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ pub fn python_command() -> Command {
6666
6767pub fn htmldocck ( ) -> Command {
6868 let mut python = python_command ( ) ;
69- python. arg ( source_path ( ) . join ( "/ src/etc/htmldocck.py" ) ) ;
69+ python. arg ( source_path ( ) . join ( "src/etc/htmldocck.py" ) ) ;
7070 python
7171}
7272
Original file line number Diff line number Diff line change @@ -243,7 +243,6 @@ run-make/rustdoc-scrape-examples-remap/Makefile
243243run-make/rustdoc-scrape-examples-test/Makefile
244244run-make/rustdoc-scrape-examples-whitespace/Makefile
245245run-make/rustdoc-verify-output-files/Makefile
246- run-make/rustdoc-with-out-dir-option/Makefile
247246run-make/rustdoc-with-output-option/Makefile
248247run-make/rustdoc-with-short-out-dir-option/Makefile
249248run-make/sanitizer-cdylib-link/Makefile
Original file line number Diff line number Diff line change @@ -45,5 +45,5 @@ fn main() {
4545 }
4646 rustdoc. run ( ) ;
4747
48- htmldocck ( ) . arg ( out_dir) . arg ( "src/lib.rs" ) . status ( ) . unwrap ( ) . success ( ) ;
48+ assert ! ( htmldocck( ) . arg( out_dir) . arg( "src/lib.rs" ) . status( ) . unwrap( ) . success( ) ) ;
4949}
Original file line number Diff line number Diff line change @@ -27,5 +27,5 @@ fn main() {
2727 std:: fs:: write ( & test_css, test_content) . unwrap ( ) ;
2828
2929 rustdoc ( ) . output ( & out_dir) . input ( "foo.rs" ) . arg ( "--theme" ) . arg ( & test_css) . run ( ) ;
30- htmldocck ( ) . arg ( out_dir) . arg ( "foo.rs" ) . status ( ) . unwrap ( ) . success ( ) ;
30+ assert ! ( htmldocck( ) . arg( out_dir) . arg( "foo.rs" ) . status( ) . unwrap( ) . success( ) ) ;
3131}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ use run_make_support:: { htmldocck, rustdoc, tmp_dir} ;
2+
3+ fn main ( ) {
4+ let out_dir = tmp_dir ( ) . join ( "rustdoc" ) ;
5+ rustdoc ( ) . input ( "src/lib.rs" ) . crate_name ( "foobar" ) . crate_type ( "lib" ) . output ( & out_dir) . run ( ) ;
6+ assert ! ( htmldocck( ) . arg( out_dir) . arg( "src/lib.rs" ) . status( ) . unwrap( ) . success( ) ) ;
7+ }
You can’t perform that action at this time.
0 commit comments