From d80b40be2ff06fbcbedd4d1c091a4b1ab4948ff4 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 5 Nov 2014 15:22:28 +0000 Subject: [PATCH] advsimd-intrinsics.exp: Skip tests if target does not support Neon. 2014-11-05 Christophe Lyon * gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp: Skip tests if target does not support Neon. From-SVN: r217134 --- gcc/testsuite/ChangeLog | 5 +++++ .../aarch64/advsimd-intrinsics/advsimd-intrinsics.exp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 46f62b61aa5..9dea355cd68 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-11-05 Christophe Lyon + + * gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp: + Skip tests if target does not support Neon. + 2014-11-05 Christophe Lyon * lib/target-supports.exp (check_effective_target_bswap): Update diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp index 3aa0e1c90e2..938086b23da 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp @@ -32,6 +32,11 @@ load_lib torture-options.exp dg-init +if {[istarget arm*-*-*] + && ![check_effective_target_arm_neon_ok]} then { + return +} + torture-init set-torture-options $C_TORTURE_OPTIONS {{}} $LTO_TORTURE_OPTIONS -- 2.30.2