Add more begin_panic
normalizations to panic backtrace tests
This commit is contained in:
parent
a25032cf44
commit
1511de3c9e
8 changed files with 12 additions and 4 deletions
|
@ -9,6 +9,8 @@
|
|||
// This is needed to avoid test output differences across std being built with v0 symbols vs legacy
|
||||
// symbols.
|
||||
//@ normalize-stderr-test: "begin_panic::<&str>" -> "begin_panic"
|
||||
// This variant occurs on macOS with `rust.debuginfo-level = "line-tables-only"` (#133997)
|
||||
//@ normalize-stderr-test: " begin_panic<&str>" -> " std::panicking::begin_panic"
|
||||
// And this is for differences between std with and without debuginfo.
|
||||
//@ normalize-stderr-test: "\n +at [^\n]+" -> ""
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
thread 'main' panicked at $DIR/issue-47429-short-backtraces.rs:24:5:
|
||||
thread 'main' panicked at $DIR/issue-47429-short-backtraces.rs:26:5:
|
||||
explicit panic
|
||||
stack backtrace:
|
||||
0: std::panicking::begin_panic
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
// This is needed to avoid test output differences across std being built with v0 symbols vs legacy
|
||||
// symbols.
|
||||
//@ normalize-stderr-test: "begin_panic::<&str>" -> "begin_panic"
|
||||
// This variant occurs on macOS with `rust.debuginfo-level = "line-tables-only"` (#133997)
|
||||
//@ normalize-stderr-test: " begin_panic<&str>" -> " std::panicking::begin_panic"
|
||||
// And this is for differences between std with and without debuginfo.
|
||||
//@ normalize-stderr-test: "\n +at [^\n]+" -> ""
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
thread 'main' panicked at $DIR/runtime-switch.rs:27:5:
|
||||
thread 'main' panicked at $DIR/runtime-switch.rs:29:5:
|
||||
explicit panic
|
||||
stack backtrace:
|
||||
0: std::panicking::begin_panic
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
// This is needed to avoid test output differences across std being built with v0 symbols vs legacy
|
||||
// symbols.
|
||||
//@ normalize-stderr-test: "begin_panic::<&str>" -> "begin_panic"
|
||||
// This variant occurs on macOS with `rust.debuginfo-level = "line-tables-only"` (#133997)
|
||||
//@ normalize-stderr-test: " begin_panic<&str>" -> " std::panicking::begin_panic"
|
||||
// And this is for differences between std with and without debuginfo.
|
||||
//@ normalize-stderr-test: "\n +at [^\n]+" -> ""
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
thread 'main' panicked at $DIR/short-ice-remove-middle-frames-2.rs:61:5:
|
||||
thread 'main' panicked at $DIR/short-ice-remove-middle-frames-2.rs:63:5:
|
||||
debug!!!
|
||||
stack backtrace:
|
||||
0: std::panicking::begin_panic
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
// This is needed to avoid test output differences across std being built with v0 symbols vs legacy
|
||||
// symbols.
|
||||
//@ normalize-stderr-test: "begin_panic::<&str>" -> "begin_panic"
|
||||
// This variant occurs on macOS with `rust.debuginfo-level = "line-tables-only"` (#133997)
|
||||
//@ normalize-stderr-test: " begin_panic<&str>" -> " std::panicking::begin_panic"
|
||||
// And this is for differences between std with and without debuginfo.
|
||||
//@ normalize-stderr-test: "\n +at [^\n]+" -> ""
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
thread 'main' panicked at $DIR/short-ice-remove-middle-frames.rs:57:5:
|
||||
thread 'main' panicked at $DIR/short-ice-remove-middle-frames.rs:59:5:
|
||||
debug!!!
|
||||
stack backtrace:
|
||||
0: std::panicking::begin_panic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue