diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-07-30 19:49:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-30 19:49:02 +0200 |
| commit | 61760fbda4309c7ecccb4766933b3ad127dd718d (patch) | |
| tree | 704057f748cfc99e1aff66153334e11fe3422d70 /tests/rustdoc-ui/2024-doctests-crate-attribute.rs | |
| parent | b38ece9021f6682887d729aa0466188eed9b7500 (diff) | |
| parent | 64e3078bbd6b5ac7246735c9ee0a16a091e6f45f (diff) | |
| download | rust-61760fbda4309c7ecccb4766933b3ad127dd718d.tar.gz rust-61760fbda4309c7ecccb4766933b3ad127dd718d.zip | |
Rollup merge of #144308 - GuillaumeGomez:merged-doctest-times, r=lolbinarycat
[rustdoc] Display total time and compilation time of merged doctests Fixes rust-lang/rust#144270. Does it look good to you `@kpreid?` <img width="908" height="263" alt="image" src="https://github.com/user-attachments/assets/cd5d082d-c4e0-42ed-91dd-bd263b413dcd" />
Diffstat (limited to 'tests/rustdoc-ui/2024-doctests-crate-attribute.rs')
| -rw-r--r-- | tests/rustdoc-ui/2024-doctests-crate-attribute.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/2024-doctests-crate-attribute.rs b/tests/rustdoc-ui/2024-doctests-crate-attribute.rs index c9887cbc63b..416d50cb070 100644 --- a/tests/rustdoc-ui/2024-doctests-crate-attribute.rs +++ b/tests/rustdoc-ui/2024-doctests-crate-attribute.rs @@ -4,6 +4,8 @@ //@ normalize-stdout: "tests/rustdoc-ui" -> "$$DIR" //@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME" //@ normalize-stdout: ".rs:\d+:\d+" -> ".rs:$$LINE:$$COL" +//@ normalize-stdout: "ran in \d+\.\d+s" -> "ran in $$TIME" +//@ normalize-stdout: "compilation took \d+\.\d+s" -> "compilation took $$TIME" /// This doctest is used to ensure that if a crate attribute is present, /// it will not be part of the merged doctests. |
