diff options
Diffstat (limited to 'binutils/testsuite')
-rw-r--r-- | binutils/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/compress.exp | 2 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/objdump.exp | 2 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/readelf.exp | 5 | ||||
-rw-r--r-- | binutils/testsuite/lib/binutils-common.exp | 5 | ||||
-rw-r--r-- | binutils/testsuite/lib/utils-lib.exp | 6 |
6 files changed, 10 insertions, 18 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 65a22d8..ece81a6 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,5 +1,13 @@ 2015-04-06 H.J. Lu <hongjiu.lu@intel.com> + * 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. + +2015-04-06 H.J. Lu <hongjiu.lu@intel.com> + * binutils-all/compress.exp (compression_used): Remove "/dev/null" from remote_exec. diff --git a/binutils/testsuite/binutils-all/compress.exp b/binutils/testsuite/binutils-all/compress.exp index b4a9468..36b2a26 100644 --- a/binutils/testsuite/binutils-all/compress.exp +++ b/binutils/testsuite/binutils-all/compress.exp @@ -16,7 +16,7 @@ # Test compressed .debug section. -if { [is_remote host] || ![is_elf_format] || ![is_zlib_supported] } then { +if { [is_remote host] || ![is_elf_format] } then { return } diff --git a/binutils/testsuite/binutils-all/objdump.exp b/binutils/testsuite/binutils-all/objdump.exp index 6b7d332..6d5e76f 100644 --- a/binutils/testsuite/binutils-all/objdump.exp +++ b/binutils/testsuite/binutils-all/objdump.exp @@ -158,7 +158,7 @@ if [regexp $want $got] then { # Test objdump -s on a file that contains a compressed .debug section -if { ![is_elf_format] || ![is_zlib_supported] } then { +if { ![is_elf_format] } then { unsupported "objdump compressed debug" } elseif { ![binutils_assemble $srcdir/$subdir/dw2-compressed.S tmpdir/dw2-compressed.o] } then { fail "objdump compressed debug" diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp index 1d0ea3b..3c6472b 100644 --- a/binutils/testsuite/binutils-all/readelf.exp +++ b/binutils/testsuite/binutils-all/readelf.exp @@ -224,11 +224,6 @@ proc readelf_compressed_wa_test {} { global srcdir global subdir - if { ![is_zlib_supported] } { - unsupported "readelf -wa (compressed)" - return - } - # Compile the compressed-debug-section test file. if { [target_compile $srcdir/$subdir/dw2-compressed.S tmpdir/dw2-compressed.o object debug] != "" } { verbose "Unable to compile test file." 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 { |