@@ -1995,15 +1995,18 @@ mod snapshot {
19951995 let ctx = TestCtx :: new ( ) ;
19961996 insta:: assert_snapshot!(
19971997 ctx. config( "test" )
1998- // Skip bootstrap tests, as for some reason the recursive nature of running
1999- // bootstrap tests under bootstrap tests causes non-deterministic snapshot diffs
2000- // on CI.
2001- . args( & [ "--skip" , "bootstrap" ] )
2002- // rustdoc-js-std requires nodejs to be present
2003- . args( & [ "--set" , "build.nodejs=/bin/nodejs" ] )
1998+ // Bootstrap only run by default on CI, so we have to emulate that also locally.
1999+ . args( & [ "--ci" , "true" ] )
2000+ // These rustdoc tests requires nodejs to be present.
2001+ // We can't easily opt out of it, so if it is present on the local PC, the test
2002+ // would have different result on CI, where nodejs might be missing.
2003+ . args( & [ "--skip" , "rustdoc-js-std" ] )
2004+ . args( & [ "--skip" , "rustdoc-js" ] )
2005+ . args( & [ "--skip" , "rustdoc-gui" ] )
20042006 . render_steps( ) , @r"
20052007 [build] rustc 0 <host> -> Tidy 1 <host>
20062008 [test] tidy <>
2009+ [build] rustdoc 0 <host>
20072010 [build] llvm <host>
20082011 [build] rustc 0 <host> -> rustc 1 <host>
20092012 [build] rustc 1 <host> -> std 1 <host>
@@ -2024,7 +2027,6 @@ mod snapshot {
20242027 [test] Pretty <host>
20252028 [build] rustc 1 <host> -> std 1 <host>
20262029 [build] rustc 0 <host> -> std 0 <host>
2027- [build] rustdoc 0 <host>
20282030 [test] CrateLibrustc <host>
20292031 [build] rustc 1 <host> -> rustc 2 <host>
20302032 [test] crate-bootstrap <host> src/tools/coverage-dump
@@ -2060,8 +2062,6 @@ mod snapshot {
20602062 [test] rustc 0 <host> -> rust-analyzer 1 <host>
20612063 [doc] rustc (book) <host>
20622064 [test] rustc 1 <host> -> lint-docs 2 <host>
2063- [doc] rustc 1 <host> -> std 1 <host> crates=[]
2064- [test] rustdoc-js-std 1 <host>
20652065 [build] rustc 0 <host> -> RustdocTheme 1 <host>
20662066 [test] rustdoc-theme 1 <host>
20672067 [test] RustdocUi <host>
0 commit comments