Skip to content

Commit

Permalink
some more tests need normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 14, 2019
1 parent 3a39b43 commit 184939f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/ui/huge-array-simple.rs
@@ -1,6 +1,10 @@
// error-pattern: too big for the current architecture

// normalize-stderr-test "; \d+]" -> "; N]"

// FIXME https://github.com/rust-lang/rust/issues/59774
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
// normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
#![allow(exceeding_bitshifts)]

#[cfg(target_pointer_width = "64")]
Expand Down
4 changes: 4 additions & 0 deletions src/test/ui/huge-struct.rs
Expand Up @@ -2,6 +2,10 @@
// normalize-stderr-test "S1M" -> "SXX"
// error-pattern: too big for the current

// FIXME https://github.com/rust-lang/rust/issues/59774
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
// normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""

struct S32<T> {
v0: T,
v1: T,
Expand Down
4 changes: 4 additions & 0 deletions src/test/ui/issues/issue-56762.rs
@@ -1,4 +1,8 @@
// only-x86_64

// FIXME https://github.com/rust-lang/rust/issues/59774
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
// normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
const HUGE_SIZE: usize = !0usize / 8;


Expand Down

0 comments on commit 184939f

Please sign in to comment.