diff options
author | Roland McGrath <roland@gnu.org> | 2012-11-27 17:26:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2012-11-27 17:26:11 +0000 |
commit | 659518555272d23be5bc8a4950ad565d95b7b6a0 (patch) | |
tree | 0150a8c08be2616c8b14de01a52edbba368decce /binutils/testsuite/binutils-all/compress.exp | |
parent | 2a64e9e88d146e56fceb399d9a245e62078025c7 (diff) | |
download | gdb-659518555272d23be5bc8a4950ad565d95b7b6a0.zip gdb-659518555272d23be5bc8a4950ad565d95b7b6a0.tar.gz gdb-659518555272d23be5bc8a4950ad565d95b7b6a0.tar.bz2 |
binutils/testsuite/
* lib/binutils-common.exp (is_zlib_supported): New function.
* lib/utils-lib.exp (run_dump_test): If as options include
--compress-debug-sections and zlib is not available, report
the test as unsupported.
* binutils-all/compress.exp: Bail out if zlib is not available.
* binutils-all/objdump.exp (objdump compressed debug):
Mark unsupported if zlib is not available.
* binutils-all/readelf.exp (readelf_compressed_wa_test): Likewise.
gas/testsuite/
* lib/gas-defs.exp (run_dump_test): If as options include
--compress-debug-sections and zlib is not available, report
the test as unsupported.
ld/testsuite/
* ld-elf/compress.exp: Bail out if zlib is not supported.
* lib/ld-lib.exp (run_dump_test): If as options include
--compress-debug-sections and zlib is not available, report
the test as unsupported.
Diffstat (limited to 'binutils/testsuite/binutils-all/compress.exp')
-rw-r--r-- | binutils/testsuite/binutils-all/compress.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/binutils/testsuite/binutils-all/compress.exp b/binutils/testsuite/binutils-all/compress.exp index 420794b..8cf6138 100644 --- a/binutils/testsuite/binutils-all/compress.exp +++ b/binutils/testsuite/binutils-all/compress.exp @@ -1,23 +1,23 @@ -# Copyright 2010 +# Copyright 2010, 2012 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Test compressed .debug section. -if { [is_remote host] || ![is_elf_format] } then { +if { [is_remote host] || ![is_elf_format] || ![is_zlib_supported] } then { return } |