about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-12-23 00:07:35 +0800
committerkennytm <kennytm@gmail.com>2018-12-23 02:11:49 +0800
commitbeaf07182253e8055b5b9abc5919bab6559d53f7 (patch)
tree9a238aac6e7e2ef371aff2026731a6a05e75166c /src/test
parenta92e21c21542dbc6fe0511b461008471d92b2e85 (diff)
parenta153d485fe9fbd0dd4f16c0dfa29bf5d75cd63df (diff)
Rollup merge of #56914 - glaubitz:ignore-tests, r=alexcrichton
Ignore ui/target-feature-gate on sparc, sparc64, powerpc, powerpc64 and powerpc64le

The test ui/target-feature-gate is not applicable on sparc, sparc64, powerpc, powerpc64 and powerpc64le and consequently fails there. So just ignore it on these targets.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/target-feature-gate.rs5
-rw-r--r--src/test/ui/target-feature-gate.stderr2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/test/ui/target-feature-gate.rs b/src/test/ui/target-feature-gate.rs
index 4207a3285c4..cb0938b861c 100644
--- a/src/test/ui/target-feature-gate.rs
+++ b/src/test/ui/target-feature-gate.rs
@@ -14,6 +14,11 @@
 // ignore-emscripten
 // ignore-mips
 // ignore-mips64
+// ignore-powerpc
+// ignore-powerpc64
+// ignore-powerpc64le
+// ignore-sparc
+// ignore-sparc64
 // gate-test-sse4a_target_feature
 // gate-test-powerpc_target_feature
 // gate-test-avx512_target_feature
diff --git a/src/test/ui/target-feature-gate.stderr b/src/test/ui/target-feature-gate.stderr
index 54589536010..d7154324d12 100644
--- a/src/test/ui/target-feature-gate.stderr
+++ b/src/test/ui/target-feature-gate.stderr
@@ -1,5 +1,5 @@
 error[E0658]: the target feature `avx512bw` is currently unstable (see issue #44839)
-  --> $DIR/target-feature-gate.rs:31:18
+  --> $DIR/target-feature-gate.rs:36:18
    |
 LL | #[target_feature(enable = "avx512bw")]
    |                  ^^^^^^^^^^^^^^^^^^^