aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-14 09:39:54 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:55 -0700
commitcaab91aebbcfba6d9df7008adcc50e39fe8ef6b7 (patch)
tree92bc0cedb33420301e7242bb4db9e639c7c5489d /gdb/testsuite/gdb.base
parent7c1a12b3e8a2792db0b903c8fcb0f7ac5e314734 (diff)
downloadgdb-caab91aebbcfba6d9df7008adcc50e39fe8ef6b7.zip
gdb-caab91aebbcfba6d9df7008adcc50e39fe8ef6b7.tar.gz
gdb-caab91aebbcfba6d9df7008adcc50e39fe8ef6b7.tar.bz2
Use require !skip_ifunc_tests
This changes some tests to use "require !skip_ifunc_tests".
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/gnu-ifunc.exp6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/gnu-ifunc.exp b/gdb/testsuite/gdb.base/gnu-ifunc.exp
index fd5eaa1..967d1e0 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 <http://www.gnu.org/licenses/>.
-require !skip_shlib_tests
-
-if {[skip_ifunc_tests]} {
- return 0
-}
+require !skip_shlib_tests !skip_ifunc_tests
standard_testfile .c
set staticexecutable ${testfile}-static