]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.arch/amd64-stap-wrong-subexp.exp
Use require with istarget
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.arch / amd64-stap-wrong-subexp.exp
index f83336207ec9715b8d6951951251739b0bbbd61c..f2172a0ce3576aace95bcc3dab64bf549377f901 100644 (file)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-if { ![istarget "x86_64-*-*"] || ![is_lp64_target] } {
-    verbose "Skipping amd64-stap-wrong-subexp.exp"
-    return
-}
+require {istarget x86_64-*-*} is_lp64_target
 
 standard_testfile amd64-stap-wrong-subexp.S