File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed
tests/run-make/rustdoc-map-file Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,6 @@ run-make/rlib-format-packed-bundled-libs/Makefile
245245run-make/rmeta-preferred/Makefile
246246run-make/rustc-macro-dep-files/Makefile
247247run-make/rustdoc-io-error/Makefile
248- run-make/rustdoc-map-file/Makefile
249248run-make/rustdoc-output-path/Makefile
250249run-make/rustdoc-scrape-examples-invalid-expr/Makefile
251250run-make/rustdoc-scrape-examples-macros/Makefile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ use run_make_support:: { rustdoc, tmp_dir} ;
2+ use std:: process:: Command ;
3+
4+ fn main ( ) {
5+ let out_dir = tmp_dir ( ) . join ( "out" ) ;
6+ rustdoc ( )
7+ . input ( "foo.rs" )
8+ . arg ( "-Zunstable-options" )
9+ . arg ( "--generate-redirect-map" )
10+ . output ( & out_dir)
11+ . run ( ) ;
12+ let python = std:: env:: var ( "PYTHON" ) . unwrap_or ( "python" . into ( ) ) ;
13+ assert ! (
14+ Command :: new( python) . arg( "validate_json.py" ) . arg( & out_dir) . status( ) . unwrap( ) . success( )
15+ ) ;
16+ }
You can’t perform that action at this time.
0 commit comments