diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-04-06 12:19:13 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-04-06 12:19:13 -0700 |
commit | dae148f3b925ba75459caec099932e31a1ad961b (patch) | |
tree | 4d5f26530c66bea29b298d960dddd3e5633bed20 /binutils/testsuite/lib | |
parent | bf890a93a7c46f63fc0595189cf2b388e9a29316 (diff) | |
download | gdb-dae148f3b925ba75459caec099932e31a1ad961b.zip gdb-dae148f3b925ba75459caec099932e31a1ad961b.tar.gz gdb-dae148f3b925ba75459caec099932e31a1ad961b.tar.bz2 |
Remove is_zlib_supported
Since zlib is always supported, there is no need for is_zlib_supported.
binutils/testsuite/
* binutils-all/compress.exp: Remove is_zlib_supported check.
* binutils-all/objdump.exp: Likewise.
* binutils-all/readelf.exp (readelf_compressed_wa_test): Likewise.
* lib/utils-lib.exp (run_dump_test): Likewise.
* lib/binutils-common.exp (is_zlib_supported): Removed.
gas/testsuite/
* lib/gas-defs.exp (run_dump_test): Remove is_zlib_supported check.
ld/testsuite/
* ld-elf/compress.exp: Remove is_zlib_supported check.
Fail if --compress-debug-sections doesn't work.
* lib/ld-lib.exp (run_dump_test): Remove is_zlib_supported check.
Diffstat (limited to 'binutils/testsuite/lib')
-rw-r--r-- | binutils/testsuite/lib/binutils-common.exp | 5 | ||||
-rw-r--r-- | binutils/testsuite/lib/utils-lib.exp | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp index e989da4..5dadc42 100644 --- a/binutils/testsuite/lib/binutils-common.exp +++ b/binutils/testsuite/lib/binutils-common.exp @@ -152,11 +152,6 @@ proc is_elf64 { binary_file } { return 0 } -# True if the build supports zlib compression. -proc is_zlib_supported {} { - return 1 -} - # Compare two files line-by-line. FILE_1 is the actual output and FILE_2 # is the expected output. Ignore blank lines in either file. # diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp index 8dac718..b366b63 100644 --- a/binutils/testsuite/lib/utils-lib.exp +++ b/binutils/testsuite/lib/utils-lib.exp @@ -438,12 +438,6 @@ proc run_dump_test { name {extra_options {}} } { } } - if { [string match "*--compress-debug-sections*" $opts(as)] \ - && ![is_zlib_supported] } { - unsupported $testname - return - } - if { $opts(source) == "" } { set srcfile ${file}.s } else { |