diff options
Diffstat (limited to 'binutils/testsuite/binutils-all/objcopy.exp')
-rw-r--r-- | binutils/testsuite/binutils-all/objcopy.exp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index 8ccca36..ef25187 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -54,7 +54,7 @@ proc objcopy_test {testname srcfile type asflags ldflags} { } if {![binutils_assemble_flags $srcdir/$subdir/${srcfile} $t_tempfile "$asflags"]} then { - unresolved "objcopy $type ($testname)" + unsupported "objcopy $type ($testname)" remote_file host delete $t_tempfile return } @@ -73,7 +73,7 @@ proc objcopy_test {testname srcfile type asflags ldflags} { set t_copyfile $copyfile set got [binutils_run $LD "$tempfile -o $t_tempfile $ldflags"] if { ![string equal "" $got] } then { - unresolved "objcopy $type ($testname)" + unsupported "objcopy $type ($testname)" return } set xflags "--preserve-dates" @@ -133,7 +133,7 @@ proc objcopy_test_verilog {testname} { set got [binutils_assemble $srcdir/$subdir/verilogtest.s $binfile] if {![binutils_assemble $srcdir/$subdir/verilogtest.s $binfile]} then { - unresolved "objcopy ($testname)" + unsupported "objcopy ($testname)" return } @@ -484,7 +484,7 @@ proc strip_test { } { verbose -log "$READELF -a tmpdir/testprog.o > tmpdir/osabi.in" set exec_output [remote_exec host "$READELF -h tmpdir/testprog.o" "" "/dev/null" "tmpdir/osabi.in"] if { [lindex $exec_output 0] != 0 } then { - unresolved "$test preserving OS/ABI" + fail "$test preserving OS/ABI" set osabi_fail "true" } else { verbose -log "grep OS/ABI tmpdir/osabi.in" @@ -531,7 +531,7 @@ proc strip_test { } { verbose -log "$READELF -a tmpdir/testprog.o > tmpdir/osabi.out" set exec_output [remote_exec host "$READELF -h tmpdir/testprog.o" "" "/dev/null" "tmpdir/osabi.out"] if { [lindex $exec_output 0] != 0 } then { - unresolved "$test preserving OS/ABI" + fail "$test preserving OS/ABI" } else { verbose -log "grep OS/ABI tmpdir/osabi.out" catch "exec grep OS/ABI tmpdir/osabi.out" osabi_out @@ -762,7 +762,7 @@ proc strip_executable { prog flags test1 test2 } { verbose -log "$READELF -a ${copyfile} > tmpdir/osabi.in" set exec_output [remote_exec host "$READELF -h ${copyfile}" "" "/dev/null" "tmpdir/osabi.in"] if { [lindex $exec_output 0] != 0 } then { - unresolved "$test1 preserving OS/ABI" + fail "$test1 preserving OS/ABI" set osabi_fail "true" } else { verbose -log "grep OS/ABI tmpdir/osabi.in" @@ -788,7 +788,7 @@ proc strip_executable { prog flags test1 test2 } { verbose -log "$READELF -a ${copyfile} > tmpdir/osabi.out" set exec_output [remote_exec host "$READELF -h ${copyfile}" "" "/dev/null" "tmpdir/osabi.out"] if { [lindex $exec_output 0] != 0 } then { - unresolved "$test1 preserving OS/ABI" + fail "$test1 preserving OS/ABI" } else { verbose -log "grep OS/ABI tmpdir/osabi.out" catch "exec grep OS/ABI tmpdir/osabi.out" osabi_out @@ -1021,7 +1021,7 @@ proc objcopy_test_readelf {testname srcfile} { global subdir if {![binutils_assemble $srcdir/$subdir/${srcfile} tmpdir/bintest.o]} then { - unresolved "objcopy ($testname)" + unsupported "objcopy ($testname)" return } @@ -1036,7 +1036,7 @@ proc objcopy_test_readelf {testname srcfile} { verbose -log "$READELF -a tmpdir/bintest.o > tmpdir/bintest.o.out" set exec_output [remote_exec host "$READELF -a tmpdir/bintest.o" "" "/dev/null" "tmpdir/bintest.o.out"] if { [lindex $exec_output 0] != 0 } then { - unresolved "objcopy ($testname)" + fail "objcopy ($testname)" return } set exec_output [prune_warnings [lindex $exec_output 1]] @@ -1048,7 +1048,7 @@ proc objcopy_test_readelf {testname srcfile} { verbose -log "$READELF -a tmpdir/copy.o > tmpdir/copy.o.out" set exec_output [remote_exec host "$READELF -a tmpdir/copy.o" "" "/dev/null" "tmpdir/copy.o.out"] if { [lindex $exec_output 0] != 0 } then { - unresolved "objcopy ($testname)" + fail "objcopy ($testname)" return } set exec_output [prune_warnings [lindex $exec_output 1]] @@ -1216,7 +1216,7 @@ if [is_elf_format] { set srcfile $srcdir/$subdir/needed-by-reloc.s if {![binutils_assemble $srcfile tmpdir/bintest.o]} then { - unresolved $test + unsupported $test } else { set got [binutils_run $OBJCOPY "$OBJCOPYFLAGS --strip-symbol=foo tmpdir/bintest.o ${copyfile}.o"] |