Skip to content

Commit

Permalink
Clean tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Sep 25, 2019
1 parent e1cf0a1 commit 02bfbf9
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 11 deletions.
4 changes: 4 additions & 0 deletions src/test/ui/consts/const-eval/simd/extract-fail0.rs
@@ -1,5 +1,9 @@
// failure-status: 101
// rustc-env:RUST_BACKTRACE=0
// normalize-stderr-test "note: rustc 1.* running on .*" -> "note: rustc VERSION running on TARGET"
// normalize-stderr-test "note: compiler flags: .*" -> "note: compiler flags: FLAGS"
// normalize-stderr-test "interpret/intern.rs:[0-9]*:[0-9]*" -> "interpret/intern.rs:LL:CC"

#![feature(const_fn)]
#![feature(repr_simd)]
#![feature(platform_intrinsics)]
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/consts/const-eval/simd/extract-fail0.stderr
Expand Up @@ -9,7 +9,7 @@ note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.39.0-dev running on x86_64-apple-darwin
note: rustc VERSION running on TARGET

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
note: compiler flags: FLAGS

4 changes: 4 additions & 0 deletions src/test/ui/consts/const-eval/simd/extract-fail1.rs
@@ -1,5 +1,9 @@
// failure-status: 101
// rustc-env:RUST_BACKTRACE=0
// normalize-stderr-test "note: rustc 1.* running on .*" -> "note: rustc VERSION running on TARGET"
// normalize-stderr-test "note: compiler flags: .*" -> "note: compiler flags: FLAGS"
// normalize-stderr-test "interpret/intern.rs:[0-9]*:[0-9]*" -> "interpret/intern.rs:LL:CC"

#![feature(const_fn)]
#![feature(repr_simd)]
#![feature(platform_intrinsics)]
Expand Down
6 changes: 3 additions & 3 deletions src/test/ui/consts/const-eval/simd/extract-fail1.stderr
@@ -1,4 +1,4 @@
error: internal compiler error: src/librustc_mir/interpret/operand.rs:346: Type `i8` is not a SIMD vector type
error: internal compiler error: src/librustc_mir/interpret/operand.rs:345: Type `i8` is not a SIMD vector type

thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:643:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Expand All @@ -7,9 +7,9 @@ note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.39.0-dev running on x86_64-apple-darwin
note: rustc VERSION running on TARGET

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
note: compiler flags: FLAGS

error: aborting due to previous error

4 changes: 4 additions & 0 deletions src/test/ui/consts/const-eval/simd/extract-fail2.rs
@@ -1,5 +1,9 @@
// failure-status: 101
// rustc-env:RUST_BACKTRACE=0
// normalize-stderr-test "note: rustc 1.* running on .*" -> "note: rustc VERSION running on TARGET"
// normalize-stderr-test "note: compiler flags: .*" -> "note: compiler flags: FLAGS"
// normalize-stderr-test "interpret/intern.rs:[0-9]*:[0-9]*" -> "interpret/intern.rs:LL:CC"

#![feature(const_fn)]
#![feature(repr_simd)]
#![feature(platform_intrinsics)]
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/consts/const-eval/simd/extract-fail2.stderr
Expand Up @@ -7,7 +7,7 @@ note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.39.0-dev running on x86_64-apple-darwin
note: rustc VERSION running on TARGET

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
note: compiler flags: FLAGS

4 changes: 4 additions & 0 deletions src/test/ui/consts/const-eval/simd/insert-fail0.rs
@@ -1,5 +1,9 @@
// failure-status: 101
// rustc-env:RUST_BACKTRACE=0
// normalize-stderr-test "note: rustc 1.* running on .*" -> "note: rustc VERSION running on TARGET"
// normalize-stderr-test "note: compiler flags: .*" -> "note: compiler flags: FLAGS"
// normalize-stderr-test "interpret/intern.rs:[0-9]*:[0-9]*" -> "interpret/intern.rs:LL:CC"

#![feature(const_fn)]
#![feature(repr_simd)]
#![feature(platform_intrinsics)]
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/consts/const-eval/simd/insert-fail0.stderr
Expand Up @@ -9,7 +9,7 @@ note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.39.0-dev running on x86_64-apple-darwin
note: rustc VERSION running on TARGET

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
note: compiler flags: FLAGS

4 changes: 4 additions & 0 deletions src/test/ui/consts/const-eval/simd/insert-fail1.rs
@@ -1,5 +1,9 @@
// failure-status: 101
// rustc-env:RUST_BACKTRACE=0
// normalize-stderr-test "note: rustc 1.* running on .*" -> "note: rustc VERSION running on TARGET"
// normalize-stderr-test "note: compiler flags: .*" -> "note: compiler flags: FLAGS"
// normalize-stderr-test "interpret/intern.rs:[0-9]*:[0-9]*" -> "interpret/intern.rs:LL:CC"

#![feature(const_fn)]
#![feature(repr_simd)]
#![feature(platform_intrinsics)]
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/consts/const-eval/simd/insert-fail1.stderr
Expand Up @@ -7,7 +7,7 @@ note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.39.0-dev running on x86_64-apple-darwin
note: rustc VERSION running on TARGET

note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
note: compiler flags: FLAGS

0 comments on commit 02bfbf9

Please sign in to comment.