File tree Expand file tree Collapse file tree 5 files changed +408
-418
lines changed Expand file tree Collapse file tree 5 files changed +408
-418
lines changed Original file line number Diff line number Diff line change @@ -627,8 +627,13 @@ impl Step for RustdocJSStd {
627627 if let Some ( ref nodejs) = builder. config . nodejs {
628628 let mut command = Command :: new ( nodejs) ;
629629 command
630- . arg ( builder. src . join ( "src/tools/rustdoc-js-std/tester.js" ) )
630+ . arg ( builder. src . join ( "src/tools/rustdoc-js/tester.js" ) )
631+ . arg ( "--std" )
632+ . arg ( "--version" )
633+ . arg ( crate :: channel:: CFG_RELEASE_NUM )
634+ . arg ( "--doc-folder" )
631635 . arg ( builder. doc_out ( self . target ) )
636+ . arg ( "--test-folder" )
632637 . arg ( builder. src . join ( "src/test/rustdoc-js-std" ) ) ;
633638 builder. ensure ( crate :: doc:: Std { target : self . target , stage : builder. top_stage } ) ;
634639 builder. run ( & mut command) ;
Original file line number Diff line number Diff line change @@ -2810,7 +2810,9 @@ impl<'test> TestCx<'test> {
28102810 let res = self . cmd2procres (
28112811 Command :: new ( & nodejs)
28122812 . arg ( root. join ( "src/tools/rustdoc-js/tester.js" ) )
2813+ . arg ( "--doc-folder" )
28132814 . arg ( out_dir. parent ( ) . expect ( "no parent" ) )
2815+ . arg ( "--test-file" )
28142816 . arg ( self . testpaths . file . with_extension ( "js" ) ) ,
28152817 ) ;
28162818 if !res. status . success ( ) {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments