From ca98345e0b3fda08ae79e4cb07632eab84ef6ef2 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Wed, 3 Oct 2018 09:16:53 -0700 Subject: Skip gdb ifunc tests on targets that don't support this feature. 2018-10-03 Sandra Loosemore * lib/gdb.exp (skip_ifunc_tests): New. * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle other compile failures. * gdb.compile/compile-ifunc.exp: Skip if no ifunc support. --- gdb/testsuite/gdb.compile/compile-ifunc.exp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/testsuite/gdb.compile') diff --git a/gdb/testsuite/gdb.compile/compile-ifunc.exp b/gdb/testsuite/gdb.compile/compile-ifunc.exp index 979e391..bb3af4d 100644 --- a/gdb/testsuite/gdb.compile/compile-ifunc.exp +++ b/gdb/testsuite/gdb.compile/compile-ifunc.exp @@ -13,6 +13,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +if {[skip_ifunc_tests]} { + return 0 +} + standard_testfile with_test_prefix "nodebug" { -- cgit v1.1