normalize away some Windows-only panic printing

This commit is contained in:
Ralf Jung 2019-04-15 23:09:14 +02:00
parent e2d88171a3
commit 581c1ab730
6 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,9 @@
// aux-build:invalid-punct-ident.rs
// FIXME https://github.com/rust-lang/rust/issues/59998
// normalize-stderr-windows "thread.*panicked.*proc_macro_server.rs.*\n" -> ""
// normalize-stderr-windows "note:.*RUST_BACKTRACE=1.*\n" -> ""
#[macro_use]
extern crate invalid_punct_ident;

View File

@ -1,5 +1,5 @@
error: proc macro panicked
--> $DIR/invalid-punct-ident-1.rs:6:1
--> $DIR/invalid-punct-ident-1.rs:10:1
|
LL | invalid_punct!();
| ^^^^^^^^^^^^^^^^^

View File

@ -1,5 +1,9 @@
// aux-build:invalid-punct-ident.rs
// FIXME https://github.com/rust-lang/rust/issues/59998
// normalize-stderr-windows "thread.*panicked.*proc_macro_server.rs.*\n" -> ""
// normalize-stderr-windows "note:.*RUST_BACKTRACE=1.*\n" -> ""
#[macro_use]
extern crate invalid_punct_ident;

View File

@ -1,5 +1,5 @@
error: proc macro panicked
--> $DIR/invalid-punct-ident-2.rs:6:1
--> $DIR/invalid-punct-ident-2.rs:10:1
|
LL | invalid_ident!();
| ^^^^^^^^^^^^^^^^^

View File

@ -1,5 +1,9 @@
// aux-build:invalid-punct-ident.rs
// FIXME https://github.com/rust-lang/rust/issues/59998
// normalize-stderr-windows "thread.*panicked.*proc_macro_server.rs.*\n" -> ""
// normalize-stderr-windows "note:.*RUST_BACKTRACE=1.*\n" -> ""
#[macro_use]
extern crate invalid_punct_ident;

View File

@ -1,5 +1,5 @@
error: proc macro panicked
--> $DIR/invalid-punct-ident-3.rs:6:1
--> $DIR/invalid-punct-ident-3.rs:10:1
|
LL | invalid_raw_ident!();
| ^^^^^^^^^^^^^^^^^^^^^