aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-08-18 00:18:31 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-08-18 00:18:31 +0000
commiteb4dc530cb5aad9755b12b4b6b602da82f0863c0 (patch)
treec7a468e8b3ef9a81715ae220b2b4626529f28df4 /binutils
parent1df9735d1c3d62ae2512c426de14222f9ef63885 (diff)
downloadbinutils-eb4dc530cb5aad9755b12b4b6b602da82f0863c0.zip
binutils-eb4dc530cb5aad9755b12b4b6b602da82f0863c0.tar.gz
binutils-eb4dc530cb5aad9755b12b4b6b602da82f0863c0.tar.bz2
Remove extra verbose before binutils_run
* binutils-all/ar.exp (long_filenames): Remove extra verbose before binutils_run. (thin_archive): Likewise. (thin_archive_with_nested): Likewise. Also run bfdtest1 on $archive2.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/ChangeLog8
-rw-r--r--binutils/testsuite/binutils-all/ar.exp13
2 files changed, 16 insertions, 5 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index d7d3a04..276f0cf 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2012-08-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ * binutils-all/ar.exp (long_filenames): Remove extra verbose
+ before binutils_run.
+ (thin_archive): Likewise.
+ (thin_archive_with_nested): Likewise. Also run bfdtest1 on
+ $archive2.
+
2012-08-16 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/14481
diff --git a/binutils/testsuite/binutils-all/ar.exp b/binutils/testsuite/binutils-all/ar.exp
index c66c43e..05cc261 100644
--- a/binutils/testsuite/binutils-all/ar.exp
+++ b/binutils/testsuite/binutils-all/ar.exp
@@ -1,4 +1,4 @@
-# Copyright 1995, 1997, 2002, 2004, 2007, 2008, 2009, 2010
+# Copyright 1995, 1997, 2002, 2004, 2007, 2008, 2009, 2010, 2012
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -118,7 +118,6 @@ proc long_filenames { } {
remote_file host delete $file2
}
- verbose -log "$AR x $dest"
set exec_output [binutils_run $AR "x $dest"]
set exec_output [prune_warnings $exec_output]
if ![string match "" $exec_output] {
@@ -127,7 +126,6 @@ proc long_filenames { } {
return
}
- verbose -log "$bfdtest1 $dest"
set exec_output [binutils_run $bfdtest1 "$dest"]
if ![string match "" $exec_output] {
verbose -log $exec_output
@@ -261,7 +259,6 @@ proc thin_archive { } {
return
}
- verbose -log "$bfdtest1 $archive"
set exec_output [binutils_run $bfdtest1 "$archive"]
if ![string match "" $exec_output] {
verbose -log $exec_output
@@ -327,7 +324,6 @@ proc thin_archive_with_nested { } {
return
}
- verbose -log "$bfdtest1 $archive"
set exec_output [binutils_run $bfdtest1 "$archive"]
if ![string match "" $exec_output] {
verbose -log $exec_output
@@ -335,6 +331,13 @@ proc thin_archive_with_nested { } {
return
}
+ set exec_output [binutils_run $bfdtest1 "$archive2"]
+ if ![string match "" $exec_output] {
+ verbose -log $exec_output
+ fail "$testname (bfdtest1)"
+ return
+ }
+
set got [binutils_run $NM "--print-armap $archive"]
if { ![string match "*text_symbol in *bintest.o*" $got] \
|| ![string match "*data_symbol in *bintest.o*" $got] \