File tree 5 files changed +408
-418
lines changed
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 {
627
627
if let Some ( ref nodejs) = builder. config . nodejs {
628
628
let mut command = Command :: new ( nodejs) ;
629
629
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" )
631
635
. arg ( builder. doc_out ( self . target ) )
636
+ . arg ( "--test-folder" )
632
637
. arg ( builder. src . join ( "src/test/rustdoc-js-std" ) ) ;
633
638
builder. ensure ( crate :: doc:: Std { target : self . target , stage : builder. top_stage } ) ;
634
639
builder. run ( & mut command) ;
Original file line number Diff line number Diff line change @@ -2810,7 +2810,9 @@ impl<'test> TestCx<'test> {
2810
2810
let res = self . cmd2procres (
2811
2811
Command :: new ( & nodejs)
2812
2812
. arg ( root. join ( "src/tools/rustdoc-js/tester.js" ) )
2813
+ . arg ( "--doc-folder" )
2813
2814
. arg ( out_dir. parent ( ) . expect ( "no parent" ) )
2815
+ . arg ( "--test-file" )
2814
2816
. arg ( self . testpaths . file . with_extension ( "js" ) ) ,
2815
2817
) ;
2816
2818
if !res. status . success ( ) {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments