Repository navigation
Fix #12939: reporting of ignored tests in rustdoc - #13272
Conversation
There was a problem hiding this comment.
This condition should change slightly I think. It should consider ignore as "print this during the test run, but don't run it" and notrust as "ignore this entirely for testing".
There was a problem hiding this comment.
That's a really good point, hadn't thought about that!
|
I'm a little confused about the changes to #[test] fn a() {}
#[ignore] #[test] fn b() {} |
librustdoc: instead of skipping ignored tests, pass them to libtest so it can report them as such. If a test is marked as `notrust`, however, it will not show up in the final report.
|
Sorry I should have made this clearer: this change affects running documentation tests under rustdoc, e.g. This is the result I get after building from master, when it should really output
Looking over the diff again I just realized my misunderstanding of some code in libtest. I (wrongly) believed that libtest was also dropping tests marked as |
|
Updated the PR branch, and re-rebased on master |
…hton librustdoc: instead of skipping ignored tests, pass them to libtest so it can report them as such. If a test is marked as `notrust`, however, it will not show up in the final report. Fix #12939
docs(guide): fix Analysis and AnalysisHost doc links
flip1995: 2 week vacation r? `@ghost` changelog: none
librustdoc: instead of skipping ignored tests, pass them to libtest
so it can report them as such. If a test is marked as
notrust,however, it will not show up in the final report.
Fix #12939