-
-
Notifications
You must be signed in to change notification settings - Fork 17.1k
Merged doctest compilation time is not reported if all doctests are merged #146960
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-doctestsArea: Documentation tests, run by rustdocArea: Documentation tests, run by rustdocA-libtestArea: `#[test]` / the `test` libraryArea: `#[test]` / the `test` libraryC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-doctestsArea: Documentation tests, run by rustdocArea: Documentation tests, run by rustdocA-libtestArea: `#[test]` / the `test` libraryArea: `#[test]` / the `test` libraryC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Projects
- StatusShow more project fieldsDone
I tested this code:
I expected to see this happen: As per closed issue #144270 and PR #144308, the time spent compiling the doctests should be reported.
Instead, this happened: The compilation time is not reported (all visible timestamps are
0.00 s), unless at least one doctest in the crate is compiled separately for any reason (e.g.```compile_fail).Meta
rustc --version --verbose:@rustbot label A-doctests A-libtest
cc @GuillaumeGomez