Skip to content

Commit db83171

Browse files
committed
Fake nodejs in snapshot test
1 parent 20c0454 commit db83171

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/src/core/builder/tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,6 +1915,8 @@ mod snapshot {
19151915
// bootstrap tests under bootstrap tests causes non-deterministic snapshot diffs
19161916
// on CI.
19171917
.args(&["--skip", "bootstrap"])
1918+
// rustdoc-js-std requires nodejs to be present
1919+
.args(&["--set", "build.nodejs=/bin/nodejs"])
19181920
.render_steps(), @r"
19191921
[build] rustc 0 <host> -> Tidy 1 <host>
19201922
[test] tidy <>

0 commit comments

Comments
 (0)