]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.arch/amd64-disp-step-avx.exp
Use require with istarget
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.arch / amd64-disp-step-avx.exp
index a36b706828f5eb52ac44321f3fd81af2b27dc6b0..fea714570815c16987b791323edd93663f47b309 100644 (file)
 # Test displaced stepping over VEX-encoded RIP-relative AVX
 # instructions.
 
-if { ![istarget x86_64-*-* ] || ![is_lp64_target] } {
-    verbose "Skipping x86_64 displaced stepping tests."
-    return
-}
-
-if { ![have_avx] } {
-    verbose "Skipping x86_64 displaced stepping tests."
-    return
-}
+require {istarget x86_64-*-*} is_lp64_target have_avx
 
 standard_testfile .S