about summary refs log tree commit diff
path: root/tests/rustdoc-ui/ice-bug-report-url.rs
AgeCommit message (Collapse)AuthorLines
2025-05-04compiletest: Support matching on non-json lines in compiler outputVadim Petrochenkov-2/+3
and migrate most of remaining `error-pattern`s to it.
2024-12-27Remove the `-test` suffix from normalize directivesZalathar-6/+6
2024-07-11Always use a colon in `//@ normalize-*:` headersZalathar-6/+6
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-11/+11
2023-07-29Fix test output.Mara Bos-1/+1
2023-07-19On nightly, dump ICE backtraces to diskEsteban Küber-0/+1
Implement rust-lang/compiler-team#578. When an ICE is encountered on nightly releases, the new rustc panic handler will also write the contents of the backtrace to disk. If any `delay_span_bug`s are encountered, their backtrace is also added to the file. The platform and rustc version will also be collected.
2023-05-11Fix backtrace normalization in ice-bug-report-url.rsUlrich Weigand-2/+2
This test case currently fails on s390x, and probably other platforms where the last line of a backtrace does not contain and " at <source location>" specification. The problem with the existing normalization lines // normalize-stderr-test "\s*\d{1,}: .*\n" -> "" // normalize-stderr-test "\s at .*\n" -> "" is that \s matches all whitespace, including newlines, so the first (but not second) of these regexes may merge multiple lines. Thus the output differs depending on which of these matches on the last line of a backtrace. As the whitespace used in backtraces is just normal space characters, change both regexes to just match at least one space character instead: // normalize-stderr-test " +\d{1,}: .*\n" -> "" // normalize-stderr-test " + at .*\n" -> ""
2023-05-01Make the BUG_REPORT_URL configurable by toolsjyn-0/+14
This greatly simplifies how hard it is to set a custom bug report url; previously tools had to copy the entire hook implementation. - Switch clippy to the new hook This also adds a `extra_info` callback so clippy can include its own version number, which differs from rustc's. - Call `install_ice_hook` in rustfmt