Commit 409382d
committed
Don't abort rustdoc tests if
Before:
```
Check compiletest suite=rustdoc mode=rustdoc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
running 396 tests
..................................................2020-11-23T12:12:37.735649Z ERROR compiletest::runtest: fatal error, panic: "failed to run tidy - is it installed? - No such file or directory (os error 2)"
F................................................. 100/396
.................................................................................................... 200/396
.................................................................................................... 300/396
...............................i...............2020-11-23T12:15:00.271271Z ERROR compiletest::runtest: fatal error, panic: "failed to run tidy - is it installed? - No such file or directory (os error 2)"
F................................................
```
After:
```
Check compiletest suite=rustdoc mode=rustdoc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
running 4 tests
.FFF
failures:
---- [rustdoc] rustdoc/fn-pointer-arg-name.rs stdout ----
error: htmldocck failed!
status: exit code: 1
command: "/usr/bin/python" "/home/joshua/rustc/src/etc/htmldocck.py" "/home/joshua/rustc/build/x86_64-unknown-linux-gnu/test/rustdoc/fn-pointer-arg-name" "/home/joshua/rustc/src/test/rustdoc/fn-pointer-arg-name.rs"
stdout:
------------------------------------------
------------------------------------------
stderr:
------------------------------------------
4: @Has check failed
`XPATH PATTERN` did not match
// @Has - '//*[@Class="rust fn"]' 'pub fn f(callback: fn(len: usize, foo: u32))'
Encountered 1 errors
------------------------------------------
info: generating a diff against nightly rustdoc
failed to run tidy - is it installed? - Permission denied (os error 13)
failed to run tidy - is it installed? - Permission denied (os error 13)
# a diff without running `tidy`
```tidy isn't installed1 parent c3ed668 commit 409382d
1 file changed
+16
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2394 | 2394 | | |
2395 | 2395 | | |
2396 | 2396 | | |
2397 | | - | |
| 2397 | + | |
| 2398 | + | |
2398 | 2399 | | |
2399 | 2400 | | |
2400 | 2401 | | |
| |||
2409 | 2410 | | |
2410 | 2411 | | |
2411 | 2412 | | |
2412 | | - | |
2413 | | - | |
2414 | | - | |
2415 | | - | |
2416 | | - | |
2417 | | - | |
2418 | | - | |
2419 | | - | |
2420 | | - | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
2421 | 2424 | | |
2422 | 2425 | | |
2423 | 2426 | | |
2424 | 2427 | | |
2425 | 2428 | | |
2426 | 2429 | | |
2427 | | - | |
| 2430 | + | |
| 2431 | + | |
| 2432 | + | |
2428 | 2433 | | |
2429 | 2434 | | |
2430 | 2435 | | |
| |||
0 commit comments