diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2008-02-18 11:04:09 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2008-02-18 11:04:09 +0000 |
commit | 8bb39e3ceec509e7cdae2133a8f26b34c45ec99a (patch) | |
tree | f939d08781a7d05c681926980ac048e56af08570 | |
parent | 0b9ac771b4eddb27f69ae0d3572f6c61abd31cad (diff) | |
download | binutils-redhat-8bb39e3ceec509e7cdae2133a8f26b34c45ec99a.tar.gz |
* lib/ld-lib.exp (run_dump_test): Don't apply prune_warnings
for tool invocations where warnings or errors can be matched.
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 673f240ca6..972e53ae37 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-02-18 Hans-Peter Nilsson <hp@axis.com> + + * lib/ld-lib.exp (run_dump_test): Don't apply prune_warnings + for tool invocations where warnings or errors can be matched. + 2008-02-14 H.J. Lu <hongjiu.lu@intel.com> * ld-shared/sh1.c (shlib_overriddencall2): Moved to ... diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 4e8903c140..1ebb1a2268 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -846,7 +846,7 @@ proc run_dump_test { name } { send_log "$cmd\n" set cmdret [remote_exec host [concat sh -c [list "$cmd 2>&1"]] "" "/dev/null" "ld.tmp"] remote_upload host "ld.tmp" - set comp_output [prune_warnings [file_contents "ld.tmp"]] + set comp_output [file_contents "ld.tmp"] remote_file host delete "ld.tmp" remote_file build delete "ld.tmp" set cmdret [lindex $cmdret 0] @@ -863,7 +863,7 @@ proc run_dump_test { name } { send_log "$cmd\n" set cmdret [remote_exec host [concat sh -c [list "$cmd 2>&1"]] "" "/dev/null" "ld.tmp"] remote_upload host "ld.tmp" - append comp_output [prune_warnings [file_contents "ld.tmp"]] + append comp_output [file_contents "ld.tmp"] remote_file host delete "ld.tmp" remote_file build delete "ld.tmp" set cmdret [lindex $cmdret 0] |