diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2018-10-03 09:16:53 -0700 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2018-10-03 09:16:53 -0700 |
commit | ca98345e0b3fda08ae79e4cb07632eab84ef6ef2 (patch) | |
tree | 9e7f1ae4e1f53017eb5a9df1edbd0100402fddcd /gdb/testsuite/gdb.compile | |
parent | c8d3f93237d77f76d14e09e44bc770ce9428b0e4 (diff) | |
download | gdb-ca98345e0b3fda08ae79e4cb07632eab84ef6ef2.zip gdb-ca98345e0b3fda08ae79e4cb07632eab84ef6ef2.tar.gz gdb-ca98345e0b3fda08ae79e4cb07632eab84ef6ef2.tar.bz2 |
Skip gdb ifunc tests on targets that don't support this feature.
2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
* 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.
Diffstat (limited to 'gdb/testsuite/gdb.compile')
-rw-r--r-- | gdb/testsuite/gdb.compile/compile-ifunc.exp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. +if {[skip_ifunc_tests]} { + return 0 +} + standard_testfile with_test_prefix "nodebug" { |