mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
Auto merge of #51392 - glaubitz:powerpc-tests, r=petrochenkov
test: Ignore some problematic tests on powerpc and powerpc64* This updates the list of tests which can be safely ignored on powerpc and powerpc64*.
This commit is contained in:
commit
499583aa92
@ -13,6 +13,9 @@
|
||||
// ignore-aarch64
|
||||
// ignore-asmjs
|
||||
// ignore-mips64
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-s390x
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
|
@ -13,6 +13,8 @@
|
||||
// ignore-mips
|
||||
// ignore-mips64
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-s390x
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
|
@ -13,6 +13,9 @@
|
||||
// ignore-emscripten
|
||||
// ignore-mips
|
||||
// ignore-mips64
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
// compile-flags: -O
|
||||
|
@ -14,6 +14,8 @@
|
||||
// ignore-s390x
|
||||
// ignore-emscripten
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
// ignore-mips
|
||||
|
@ -11,6 +11,8 @@
|
||||
// ignore-s390x
|
||||
// ignore-emscripten
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
// ignore-mips
|
||||
|
@ -14,6 +14,8 @@
|
||||
// ignore-s390x
|
||||
// ignore-emscripten
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
// ignore-mips
|
||||
|
@ -11,6 +11,8 @@
|
||||
// ignore-s390x
|
||||
// ignore-emscripten
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
// ignore-mips
|
||||
|
@ -11,6 +11,8 @@
|
||||
// ignore-s390x
|
||||
// ignore-emscripten
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
// ignore-mips
|
||||
|
@ -11,6 +11,8 @@
|
||||
// ignore-s390x
|
||||
// ignore-emscripten
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
|
||||
|
@ -11,6 +11,8 @@
|
||||
// ignore-s390x
|
||||
// ignore-emscripten
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
// ignore-mips
|
||||
|
@ -1,5 +1,5 @@
|
||||
error[E0384]: cannot assign twice to immutable variable `x`
|
||||
--> $DIR/asm-out-assign-imm.rs:31:9
|
||||
--> $DIR/asm-out-assign-imm.rs:33:9
|
||||
|
|
||||
LL | x = 1;
|
||||
| ----- first assignment to `x`
|
||||
|
@ -14,6 +14,8 @@
|
||||
// ignore-emscripten
|
||||
// ignore-mips
|
||||
// ignore-powerpc
|
||||
// ignore-powerpc64
|
||||
// ignore-powerpc64le
|
||||
// ignore-s390x
|
||||
// ignore-sparc
|
||||
// ignore-sparc64
|
||||
|
@ -1,35 +1,35 @@
|
||||
error: #[target_feature] attribute must be of the form #[target_feature(..)]
|
||||
--> $DIR/target-feature-wrong.rs:23:1
|
||||
--> $DIR/target-feature-wrong.rs:25:1
|
||||
|
|
||||
LL | #[target_feature = "+sse2"]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: the feature named `foo` is not valid for this target
|
||||
--> $DIR/target-feature-wrong.rs:25:18
|
||||
--> $DIR/target-feature-wrong.rs:27:18
|
||||
|
|
||||
LL | #[target_feature(enable = "foo")]
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
||||
error: #[target_feature(..)] only accepts sub-keys of `enable` currently
|
||||
--> $DIR/target-feature-wrong.rs:27:18
|
||||
--> $DIR/target-feature-wrong.rs:29:18
|
||||
|
|
||||
LL | #[target_feature(bar)]
|
||||
| ^^^
|
||||
|
||||
error: #[target_feature(..)] only accepts sub-keys of `enable` currently
|
||||
--> $DIR/target-feature-wrong.rs:29:18
|
||||
--> $DIR/target-feature-wrong.rs:31:18
|
||||
|
|
||||
LL | #[target_feature(disable = "baz")]
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: #[target_feature(..)] can only be applied to `unsafe` function
|
||||
--> $DIR/target-feature-wrong.rs:33:1
|
||||
--> $DIR/target-feature-wrong.rs:35:1
|
||||
|
|
||||
LL | #[target_feature(enable = "sse2")]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: attribute should be applied to a function
|
||||
--> $DIR/target-feature-wrong.rs:37:1
|
||||
--> $DIR/target-feature-wrong.rs:39:1
|
||||
|
|
||||
LL | #[target_feature(enable = "sse2")]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@ -38,7 +38,7 @@ LL | mod another {}
|
||||
| -------------- not a function
|
||||
|
||||
error: cannot use #[inline(always)] with #[target_feature]
|
||||
--> $DIR/target-feature-wrong.rs:41:1
|
||||
--> $DIR/target-feature-wrong.rs:43:1
|
||||
|
|
||||
LL | #[inline(always)]
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
|
Loading…
Reference in New Issue
Block a user