From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 89BCD38493CA; Fri, 13 Jan 2023 20:35:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89BCD38493CA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673642127; bh=PJ+W8kQeRznAEjWX1NCGYqXapfXJRb7pp5nIUTUtijU=; h=From:To:Subject:Date:From; b=rg23VdUTQsLyENvXnLZ9w8qc/+eES98FLMqQO/mOHfadg8sHXuox5GdGu+mEF62vS FraT+L3RszKZBnfs/5Nr5oh3qQ0A+wxehQOjTvArg9mIumcC9Gy9Xho2v2y2IOZJnn 0qjt0T86zrD60azWlSsN7Os1bKDmYSFSZpmYTPgY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Use require !skip_ifunc_tests X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 7c1a12b3e8a2792db0b903c8fcb0f7ac5e314734 X-Git-Newrev: caab91aebbcfba6d9df7008adcc50e39fe8ef6b7 Message-Id: <20230113203527.89BCD38493CA@sourceware.org> Date: Fri, 13 Jan 2023 20:35:27 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dcaab91aebbcf= ba6d9df7008adcc50e39fe8ef6b7 commit caab91aebbcfba6d9df7008adcc50e39fe8ef6b7 Author: Tom Tromey Date: Wed Dec 14 09:39:54 2022 -0700 Use require !skip_ifunc_tests =20 This changes some tests to use "require !skip_ifunc_tests". Diff: --- gdb/testsuite/gdb.base/gnu-ifunc.exp | 6 +----- gdb/testsuite/gdb.compile/compile-ifunc.exp | 4 +--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/gdb/testsuite/gdb.base/gnu-ifunc.exp b/gdb/testsuite/gdb.base/= gnu-ifunc.exp index fd5eaa1233b..967d1e053e7 100644 --- a/gdb/testsuite/gdb.base/gnu-ifunc.exp +++ b/gdb/testsuite/gdb.base/gnu-ifunc.exp @@ -13,11 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . =20 -require !skip_shlib_tests - -if {[skip_ifunc_tests]} { - return 0 -} +require !skip_shlib_tests !skip_ifunc_tests =20 standard_testfile .c set staticexecutable ${testfile}-static diff --git a/gdb/testsuite/gdb.compile/compile-ifunc.exp b/gdb/testsuite/gd= b.compile/compile-ifunc.exp index 866207635c1..bfbe65a503b 100644 --- a/gdb/testsuite/gdb.compile/compile-ifunc.exp +++ b/gdb/testsuite/gdb.compile/compile-ifunc.exp @@ -15,9 +15,7 @@ =20 load_lib compile-support.exp =20 -if {[skip_ifunc_tests]} { - return 0 -} +require !skip_ifunc_tests =20 standard_testfile