This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] profopt.exp and remote testing



On 30/08/2005, at 11:30 AM, Joern RENNECKE wrote:


> Thanks Geoff. It's been two years so the patch no longer applies.
> This is what I've just committed. It still fixes the still broken
> cross testing. I re-regtested it on i686-pc-linux-gnu.
>
> 2005-07-25 Adam Nemet <anemet@lnxw.com>
>
> * lib/profopt.exp (profopt-execute): Check for profiling data
> files on the target.


This breaks simulator testing.  I am duing sh-elf testing with a
target description called sh-hms-sim.exp, and now it to rsh to an
imaginary host called sh-hms-sim.
This the is runtest output during the first failure when I pass -v:

I think this means your board isn't configured properly. What this code is trying to do is to take a file which was created by the testcase, and copy it to the machine running dejagnu. In the context of a simulator, I think that's a no-op (assuming the simulator supports file I/O at all). And yet, it looks like remote_file is trying to treat it as if it was a separate machine which was to be accessed using 'rsh'.


Does your simulator even support profiling? If not, you probably want to disable these tests.

Testing g++.dg/bprob/g++-bprob-1.C, -g
remote_file deleting /mnt/scratch/nightly/2005-08-16-23290/sh- elf-3/gcc/testsuite/g++-bprob-1.gcda
Executing sh-hms-sim:rm -f /mnt/scratch/nightly/2005-08-16-23290/ sh-elf-3/gcc/testsuite/g++-bprob-1.gcda <
rsh output is sh-hms-sim: Unknown host
child process exited abnormally
remote_file deleting /mnt/scratch/nightly/2005-08-16-23290/sh- elf-3/gcc/testsuite/g++-bprob-1.gcno
Executing sh-hms-sim:rm -f /mnt/scratch/nightly/2005-08-16-23290/ sh-elf-3/gcc/testsuite/g++-bprob-1.gcno <
rsh output is sh-hms-sim: Unknown host
child process exited abnormally
doing compile
pid is 24423 -24423
output is
spawning command /mnt/scratch/nightly/2005-08-16-23290/sh-elf-3/ sim/sh/run -m 21 /mnt/scratch/nightly/2005-08-16-23290/sh-elf-3/gcc/ testsuite/g++-bprob-1.x01
pid is -1
Shell closed.
Output is profiling:/mnt/scratch/nightly/2005-08-16-23290/sh-elf-3/ gcc/testsuite/g++-bprob-1.gcda:Not a gcov data file^M


Upload from sh-hms-sim failed, sh-hms-sim: Unknown host.
Upload from sh-hms-sim failed, sh-hms-sim: Unknown host.



Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]