Skip to content

Commit 22ecd13

Browse files
author
Ellen Arteca
committed
regex on panic test
1 parent a2d9f2e commit 22ecd13

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/panic/external_C/incorrect_SO_file.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//@only-linux
33
//@only-on-host
44
//@compile-flags: -Zmiri-external_c_so_file=tests/external_C/badpath.so
5+
//@normalize-stderr-test: "note: rustc.*running on.*" -> ""
56

67
extern "C" {
78
fn printer();

tests/panic/external_C/incorrect_SO_file.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ note: the compiler unexpectedly panicked. this is a bug.
77

88
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
99

10-
note: rustc 1.64.0-nightly (db4135175 2022-07-16) running on x86_64-unknown-linux-gnu
10+
1111

1212
note: compiler flags: -Z ui-testing -Z miri-external_c_so_file=tests/external_C/badpath.so
1313

0 commit comments

Comments
 (0)