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 Tue, Aug 30, 2005 at 07:30:53PM +0100, Joern RENNECKE wrote:
> 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:

What is your version of dejagnu?  Recent versions have sim_upload and
sim_download which copy to the host.  If your version is too old for
that, you can add this to site.exp ($DEJAGNU):

proc sim_download { dest file args } {
    return [remote_download host $file $args]
}

proc sim_upload { dest srcfile destfile } {
    return [remote_upload host $file $args]
}

This isn't the only thing that'll break without this.  F.ex. I don't
think you can run the libstdc++ I/O tests without this.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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