2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2467 * binutils-all/objcopy.exp (strip_test): Also test "strip -g" on archive.
This commit is contained in:
parent
e61e6fd132
commit
8648f88f4c
|
@ -1,3 +1,9 @@
|
||||||
|
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR binutils/2467
|
||||||
|
* binutils-all/objcopy.exp (strip_test): Also test "strip -g"
|
||||||
|
on archive.
|
||||||
|
|
||||||
2006-04-10 H.J. Lu <hongjiu.lu@intel.com>
|
2006-04-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* lib/utils-lib.exp (default_binutils_run): Check exit status.
|
* lib/utils-lib.exp (default_binutils_run): Check exit status.
|
||||||
|
|
|
@ -359,6 +359,12 @@ proc strip_test { } {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set exec_output [binutils_run $STRIP "-g $archive"]
|
||||||
|
if ![string match "" $exec_output] {
|
||||||
|
fail $test
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
set exec_output [binutils_run $STRIP "$STRIPFLAGS $archive"]
|
set exec_output [binutils_run $STRIP "$STRIPFLAGS $archive"]
|
||||||
if ![string match "" $exec_output] {
|
if ![string match "" $exec_output] {
|
||||||
fail $test
|
fail $test
|
||||||
|
|
Loading…
Reference in New Issue