File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -1856,12 +1856,14 @@ mod snapshot {
1856
1856
let ctx = TestCtx :: new ( ) ;
1857
1857
insta:: assert_snapshot!(
1858
1858
ctx. config( "test" )
1859
- // Skip bootstrap tests, as for some reason the recursive nature of running
1860
- // bootstrap tests under bootstrap tests causes non-deterministic snapshot diffs
1861
- // on CI.
1862
- . args( & [ "--skip" , "bootstrap" ] )
1863
- // rustdoc-js-std requires nodejs to be present
1864
- . args( & [ "--set" , "build.nodejs=/bin/nodejs" ] )
1859
+ // Bootstrap only run by default on CI, so we have to emulate that also locally.
1860
+ . args( & [ "--ci" , "true" ] )
1861
+ // These rustdoc tests requires nodejs to be present.
1862
+ // We can't easily opt out of it, so if it is present on the local PC, the test
1863
+ // would have different result on CI, where nodejs might be missing.
1864
+ . args( & [ "--set" , "rustdoc-js-std" ] )
1865
+ . args( & [ "--set" , "rustdoc-js" ] )
1866
+ . args( & [ "--set" , "rustdoc-gui" ] )
1865
1867
. render_steps( ) , @r"
1866
1868
[build] rustc 0 <host> -> Tidy 1 <host>
1867
1869
[test] tidy <>
Original file line number Diff line number Diff line change @@ -1151,7 +1151,7 @@ impl Build {
1151
1151
1152
1152
/// Return a `Group` guard for a [`Step`] that tests `what` with the given `stage` and `target`
1153
1153
/// (determined by `host_and_stage`).
1154
- /// Use this instead of [`builder::Builder ::msg`] when there is no clear `build_compiler` to be
1154
+ /// Use this instead of [`Build ::msg`] when there is no clear `build_compiler` to be
1155
1155
/// determined.
1156
1156
///
1157
1157
/// [`Step`]: crate::core::builder::Step
You can’t perform that action at this time.
0 commit comments