rust/tests/rustdoc-ui
Ulrich Weigand cac7e42b52 Fix backtrace normalization in ice-bug-report-url.rs
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-11 13:59:38 +02:00
..
auxiliary Move some rustdoc-ui tests to subdirectories 2023-04-29 11:36:19 -05:00
check-cfg Improve check-cfg diagnostics (part 1) 2023-05-05 13:06:48 +02:00
coverage Update tests for rustc_doc_primitive 2023-03-30 22:56:52 +02:00
doctest Improve check-cfg diagnostics (part 1) 2023-05-05 13:06:48 +02:00
error-in-impl-trait Add a failing rustdoc-ui test for public infinite recursive type 2023-04-18 14:13:44 +02:00
generate-link-to-definition Move some rustdoc-ui tests to subdirectories 2023-04-29 11:36:19 -05:00
intra-doc move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
issues Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
lints move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
scrape-examples Move some rustdoc-ui tests to subdirectories 2023-04-29 11:36:19 -05:00
suggestions Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ambiguous-inherent-assoc-ty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounded-hr-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounded-hr-lifetime.stderr Make configure_and_expand "infalllible" by just aborting the compilation if it fails instead of bubbling out an error 2023-02-20 15:28:59 +00:00
check-doc-alias-attr-location.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check-doc-alias-attr-location.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check-doc-alias-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check-doc-alias-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile-badutf8.args Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile-badutf8.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile-badutf8.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile-missing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile-missing.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile.args Move /src/test to /tests 2023-01-11 09:32:08 +00:00
commandline-argfile.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-evalutation-ice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-evalutation-ice.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_arg_in_type_position.rs rustdoc: run more HIR validation to mirror rustc 2023-03-30 14:55:03 +02:00
const_arg_in_type_position.stderr rustdoc: run more HIR validation to mirror rustc 2023-03-30 14:55:03 +02:00
crate-reference-in-block-module.rs rustdoc: Don't crash on crate references in blocks 2023-03-10 17:49:13 +01:00
crate-reference-in-block-module.stderr rustdoc: Don't crash on crate references in blocks 2023-03-10 17:49:13 +01:00
deprecated-attrs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deprecated-attrs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deref-generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
diagnostic-width.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
diagnostic-width.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-alias-assoc-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-alias-assoc-const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-alias-crate-level.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-alias-crate-level.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-alias-same-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-alias-same-name.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-cfg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-include-suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-include-suggestion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-doc_cfg_hide.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-doc_cfg_hide.stderr Make configure_and_expand "infalllible" by just aborting the compilation if it fails instead of bubbling out an error 2023-02-20 15:28:59 +00:00
ice-bug-report-url.rs Fix backtrace normalization in ice-bug-report-url.rs 2023-05-11 13:59:38 +02:00
ice-bug-report-url.stderr Fix backtrace normalization in ice-bug-report-url.rs 2023-05-11 13:59:38 +02:00
ignore-block-help.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ignore-block-help.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-fn-nesting.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-fn-nesting.stderr Make configure_and_expand "infalllible" by just aborting the compilation if it fails instead of bubbling out an error 2023-02-20 15:28:59 +00:00
infinite-recursive-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
infinite-recursive-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-cfg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-keyword.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-keyword.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-syntax.stderr Emit a single error for contiguous sequences of Unicode homoglyphs 2023-01-12 00:15:32 +00:00
invalid-theme-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-theme-name.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_associated_const.rs rustdoc: run more HIR validation to mirror rustc 2023-03-30 14:55:03 +02:00
invalid_associated_const.stderr rustdoc: run more HIR validation to mirror rustc 2023-03-30 14:55:03 +02:00
invalid_const_in_lifetime_position.rs rustdoc: run more HIR validation to mirror rustc 2023-03-30 14:55:03 +02:00
invalid_const_in_lifetime_position.stderr rustdoc: run more HIR validation to mirror rustc 2023-03-30 14:55:03 +02:00
invalid_infered_static_and_const.rs rustdoc: run more HIR validation to mirror rustc 2023-03-30 14:55:03 +02:00
invalid_infered_static_and_const.stderr rustdoc: run more HIR validation to mirror rustc 2023-03-30 14:55:03 +02:00
issue-110629-private-type-cycle-dyn.rs rustdoc: catch and don't blow up on impl Trait cycles 2023-04-29 16:53:02 -07:00
issue-110629-private-type-cycle-dyn.stderr rustdoc: catch and don't blow up on impl Trait cycles 2023-04-29 16:53:02 -07:00
issue-110629-private-type-cycle.rs rustdoc: catch and don't blow up on impl Trait cycles 2023-04-29 16:53:02 -07:00
macro-docs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-docs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-docs.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mismatched_arg_count.rs rustdoc: remove excess from rustdoc test 2023-03-30 14:55:03 +02:00
mismatched_arg_count.stderr rustdoc: remove excess from rustdoc test 2023-03-30 14:55:03 +02:00
normalize-cycle.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
normalize-overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
output-format-html-stable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
proc_macro_bug.rs Test rustdoc encountering proc_macro_derive in a non-proc-macro crate 2023-02-23 09:00:33 +00:00
proc_macro_bug.stderr Test rustdoc encountering proc_macro_derive in a non-proc-macro crate 2023-02-23 09:00:33 +00:00
range-pattern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursive-deref-ice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc-check-passes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc-check-passes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
search-index-generics-recursion-bug-issue-59502.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
track-diagnostics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
track-diagnostics.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
tuple-variadic-check.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tuple-variadic-check.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unable-fulfill-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unable-fulfill-trait.stderr rustdoc: update UI test for dropping "this" article 2023-02-23 11:59:26 -07:00
unescaped_backticks.rs Add rustdoc::unescaped_backtick lint 2023-04-29 13:13:25 +02:00
unescaped_backticks.stderr Add rustdoc::unescaped_backtick lint 2023-04-29 13:13:25 +02:00
unused-extern-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use_both_out_dir_and_output_options.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use_both_out_dir_and_output_options.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-safe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00