aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/lib
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-02-18 11:04:09 +0000
committerHans-Peter Nilsson <hp@axis.com>2008-02-18 11:04:09 +0000
commitd37466754111780c6ed25d45445d8353972cc22a (patch)
tree3c5f06cf892c376adcf01b14e121f47090b28e86 /ld/testsuite/lib
parent206988c4346c46f6dd714432959cf0c2dfb3f797 (diff)
downloadgdb-d37466754111780c6ed25d45445d8353972cc22a.zip
gdb-d37466754111780c6ed25d45445d8353972cc22a.tar.gz
gdb-d37466754111780c6ed25d45445d8353972cc22a.tar.bz2
* lib/ld-lib.exp (run_dump_test): Don't apply prune_warnings
for tool invocations where warnings or errors can be matched.
Diffstat (limited to 'ld/testsuite/lib')
-rw-r--r--ld/testsuite/lib/ld-lib.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index 4e8903c..1ebb1a2 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]