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/doctest/dead-code-module.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/doctest/dead-code-module.rs')
| -rw-r--r-- | tests/rustdoc-ui/doctest/dead-code-module.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/doctest/dead-code-module.rs b/tests/rustdoc-ui/doctest/dead-code-module.rs index f825749a6a2..d3103ad28e9 100644 --- a/tests/rustdoc-ui/doctest/dead-code-module.rs +++ b/tests/rustdoc-ui/doctest/dead-code-module.rs @@ -4,6 +4,8 @@ //@ compile-flags:--test //@ normalize-stdout: "tests/rustdoc-ui/doctest" -> "$$DIR" //@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME" +//@ normalize-stdout: "ran in \d+\.\d+s" -> "ran in $$TIME" +//@ normalize-stdout: "compilation took \d+\.\d+s" -> "compilation took $$TIME" //@ failure-status: 101 mod my_mod { |
