Movatterモバイル変換
[0]ホーム
This is the mail archive of thebinutils@sources.redhat.commailing list for thebinutils project.
Re: Results for binutils 2.14.90 20030618 testsuite on i786-pc-cygwin
- From: "Christian Joensson" <c dot christian dot joensson at telia dot com>
- To: "'binutils'" <binutils at sources dot redhat dot com>
- Date: Wed, 18 Jun 2003 17:37:03 +0200
- Subject: Re: Results for binutils 2.14.90 20030618 testsuite on i786-pc-cygwin
Sure, everything runs well:Native configuration is i786-pc-cygwin === binutils tests ===Running target unix === binutils Summary ===# of expected passes 57# of expected failures 1Thanks,/ChJ -----Ursprungligt meddelande----- Från: binutils-owner@sources.redhat.com [mailto:binutils-owner@sources.redhat.com] För Nick Clifton Skickat: den 18 juni 2003 17:16 Till: binutils Ämne: Re: Results for binutils 2.14.90 20030618 testsuite on i786-pc-cygwin Hi Christian, > === binutils tests === > > Running target unix > FAIL: simple objcopy of executable > FAIL: run objcopy of executable > ERROR: remote_download to build of tmpdir/copyprog to tmpdir/striprog: > cp: cannot stat \`tmpdir/copyprog': No such file or directory > UNRESOLVED: run stripped executable > ERROR: remote_download to build of tmpdir/copyprog to tmpdir/striprog: cp: cannot stat \`tmpdir/copyprog': No such file or directory > UNRESOLVED: run stripped executable with saving a symbol Please could you try the attached patch and let me know if it fixes any of these failures. Cheers Nick Index: binutils/testsuite/binutils-all/objcopy.exp =================================================================== RCS file: /cvs/src/src/binutils/testsuite/binutils-all/objcopy.exp,v retrieving revision 1.19 diff -c -3 -p -r1.19 objcopy.exp *** binutils/testsuite/binutils-all/objcopy.exp18 Nov 2002 08:28:38 -00001.19 --- binutils/testsuite/binutils-all/objcopy.exp18 Jun 2003 15:17:04 -0000 *************** strip_test_with_saving_a_symbol *** 425,434 **** --- 425,441 ---- # Build a final executable. + if { [istarget *-*-cygwin] } { + set test_prog "testprog.exe" + } else { + set test_prog "testprog" + } + proc copy_setup { } { global srcdir global subdir global gcc_gas_flag + global test_prog set res [build_wrapper testglue.o]; set flags { debug }; *************** proc copy_setup { } { *** 445,455 **** set flags "additional_flags=$i $flags" } } ! if { [target_compile "$srcdir/$subdir/testprog.c $add_libs" tmpdir/testprog executable $flags] != "" } { return 2 } ! set result [remote_load target tmpdir/testprog]; set status [lindex $result 0]; if { $status != "pass" } { --- 452,462 ---- set flags "additional_flags=$i $flags" } } ! if { [target_compile "$srcdir/$subdir/testprog.c $add_libs" tmpdir/$test_prog executable $flags] != "" } { return 2 } ! set result [remote_load target tmpdir/$test_prog]; set status [lindex $result 0]; if { $status != "pass" } { *************** proc copy_setup { } { *** 463,474 **** # Test copying an executable. proc copy_executable { prog flags test1 test2 } { if [is_remote host] { ! set testfile [remote_download host tmpdir/testprog]; set testcopy copyprog } else { ! set testfile tmpdir/testprog set testcopy tmpdir/copyprog } remote_file host delete $testcopy; --- 470,482 ---- # Test copying an executable. proc copy_executable { prog flags test1 test2 } { + global test_prog if [is_remote host] { ! set testfile [remote_download host tmpdir/$test_prog]; set testcopy copyprog } else { ! set testfile tmpdir/$test_prog set testcopy tmpdir/copyprog } remote_file host delete $testcopy; *************** proc copy_executable { prog flags test1 *** 485,491 **** remote_upload host $testcopy tmpdir/copyprog } ! set status [remote_exec build "cmp" "tmpdir/testprog tmpdir/copyprog"] set exec_output [lindex $status 1]; if [string match "" $exec_output] then { --- 493,499 ---- remote_upload host $testcopy tmpdir/copyprog } ! set status [remote_exec build "cmp" "tmpdir/$test_prog tmpdir/copyprog"] set exec_output [lindex $status 1]; if [string match "" $exec_output] then {
[8]ページ先頭