aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 09:43:02 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:55 -0700
commit2a904240990618a9557c53676c843e22e3f15af4 (patch)
tree523b08bced109bc2c2f9026b97837d1de4c20132 /gdb/testsuite
parent6848695de293c4f8f33bcab968f729702fdb0b2d (diff)
downloadfsf-binutils-gdb-2a904240990618a9557c53676c843e22e3f15af4.zip
fsf-binutils-gdb-2a904240990618a9557c53676c843e22e3f15af4.tar.gz
fsf-binutils-gdb-2a904240990618a9557c53676c843e22e3f15af4.tar.bz2
Use require !skip_avx_*
This changes some tests to use "require" with !skip_avx_*.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.arch/x86-avx512bf16.exp5
-rw-r--r--gdb/testsuite/gdb.arch/x86-avx512fp16-abi.exp5
-rw-r--r--gdb/testsuite/gdb.arch/x86-avx512fp16.exp5
3 files changed, 3 insertions, 12 deletions
diff --git a/gdb/testsuite/gdb.arch/x86-avx512bf16.exp b/gdb/testsuite/gdb.arch/x86-avx512bf16.exp
index 61ec1fa..d77cc08 100644
--- a/gdb/testsuite/gdb.arch/x86-avx512bf16.exp
+++ b/gdb/testsuite/gdb.arch/x86-avx512bf16.exp
@@ -18,10 +18,7 @@
# Test bfloat16 support in AVX512 registers
-if { [skip_avx512bf16_tests] } {
- unsupported "target does not support AVX512BF16"
- return -1
-}
+require !skip_avx512bf16_tests
standard_testfile
diff --git a/gdb/testsuite/gdb.arch/x86-avx512fp16-abi.exp b/gdb/testsuite/gdb.arch/x86-avx512fp16-abi.exp
index 2f336d5..696a6b8 100644
--- a/gdb/testsuite/gdb.arch/x86-avx512fp16-abi.exp
+++ b/gdb/testsuite/gdb.arch/x86-avx512fp16-abi.exp
@@ -15,10 +15,7 @@
# Test support for _Float16 parameters and return values.
-if { [skip_avx512fp16_tests] } {
- unsupported "target does not support AVX512fp16"
- return -1
-}
+require !skip_avx512fp16_tests
standard_testfile
diff --git a/gdb/testsuite/gdb.arch/x86-avx512fp16.exp b/gdb/testsuite/gdb.arch/x86-avx512fp16.exp
index 6216fac..526be16 100644
--- a/gdb/testsuite/gdb.arch/x86-avx512fp16.exp
+++ b/gdb/testsuite/gdb.arch/x86-avx512fp16.exp
@@ -15,10 +15,7 @@
# Test fp16 support in AVX512 registers.
-if { [skip_avx512fp16_tests] } {
- unsupported "target does not support AVX512fp16"
- return -1
-}
+require !skip_avx512fp16_tests
standard_testfile