Commit 08c01f8
committed
Fix flaky test
Rustdoc writes to a pipe, and if the program on the other side has
exited, it will exit with SIGPIPE. To avoid that happening, call `rustc`
instead of `true`, which will wait to exit until it sees EOF on stdin.
- Use a run-make-fulldeps test so that rustc is available in CI
This is not exactly right, because the test shouldn't require building
rustc twice, but it avoids having to build rustdoc for run-make tests.1 parent 1f0fc02 commit 08c01f8
File tree
3 files changed
+14
-6
lines changed- src/test
- run-make-fulldeps/rustdoc-test-builder
- rustdoc
3 files changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
This file was deleted.
0 commit comments