diff options
Diffstat (limited to 'binutils/testsuite/binutils-all/compress.exp')
-rw-r--r-- | binutils/testsuite/binutils-all/compress.exp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/binutils/testsuite/binutils-all/compress.exp b/binutils/testsuite/binutils-all/compress.exp index 5db9417..db167f0 100644 --- a/binutils/testsuite/binutils-all/compress.exp +++ b/binutils/testsuite/binutils-all/compress.exp @@ -163,24 +163,24 @@ if ![string match "" $got] then { } set testname "objdump compress debug sections" -set got [remote_exec host "$OBJDUMP -W ${compressedfile}.o" "" "/dev/null" "objdump.out"] +set got [remote_exec host "$OBJDUMP -W ${compressedfile}.o" "" "/dev/null" "tmpdir/objdump.out"] if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then { fail "$testname" send_log "$got\n" } -if { [regexp_diff objdump.out $srcdir/$subdir/dw2-1.W] } then { +if { [regexp_diff tmpdir/objdump.out $srcdir/$subdir/dw2-1.W] } then { fail "$testname" } else { pass "$testname" } set testname "objdump compress debug sections 3" -set got [remote_exec host "$OBJDUMP -W ${compressedfile3}.o" "" "/dev/null" "objdump.out"] +set got [remote_exec host "$OBJDUMP -W ${compressedfile3}.o" "" "/dev/null" "tmpdir/objdump.out"] if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then { fail "$testname" send_log "$got\n" } -if { [regexp_diff objdump.out $srcdir/$subdir/dw2-3.W] } then { +if { [regexp_diff tmpdir/objdump.out $srcdir/$subdir/dw2-3.W] } then { fail "$testname" } else { pass "$testname" @@ -565,12 +565,12 @@ if ![string match "" $got] then { } set testname "objdump compress debug sections 3 with zlib-gabi" -set got [remote_exec host "$OBJDUMP -W ${compressedfile3}gabi.o" "" "/dev/null" "objdump.out"] +set got [remote_exec host "$OBJDUMP -W ${compressedfile3}gabi.o" "" "/dev/null" "tmpdir/objdump.out"] if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then { fail "$testname" send_log "$got\n" } -if { [regexp_diff objdump.out $srcdir/$subdir/dw2-3gabi.W] } then { +if { [regexp_diff tmpdir/objdump.out $srcdir/$subdir/dw2-3gabi.W] } then { fail "$testname" } else { pass "$testname" @@ -639,7 +639,7 @@ proc convert_test { testname as_flags objcop_flags } { return } - set got [remote_exec host "$OBJDUMP -W ${copyfile}.o" "" "/dev/null" "objdump.out"] + set got [remote_exec host "$OBJDUMP -W ${copyfile}.o" "" "/dev/null" "tmpdir/objdump.out"] if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then { fail "$testname (reason: unexpected output)" @@ -648,7 +648,7 @@ proc convert_test { testname as_flags objcop_flags } { return } - if { [regexp_diff objdump.out $srcdir/$subdir/dw2-3.W] } then { + if { [regexp_diff tmpdir/objdump.out $srcdir/$subdir/dw2-3.W] } then { fail "$testname" } else { pass "$testname" |