On Nov 12, 2012, at 4:56 PM, "Joseph S. Myers" <jos...@codesourcery.com> wrote:

> On Mon, 12 Nov 2012, Andrew Pinski wrote:
> 
>> Also does gtest support cross testing; that is testing over rsh/ssh
>> and testing via a simulator?  We should require that as a requirement
>> also when it comes to testing infrastructures.
> 
> Unfortunately the existing guality tests work by C sources built for the 
> target running a GDB binary on the target via popen, rather than having 
> DejaGnu run the GDB binary on the host talking to the program on the 
> target.  So there's an existing not-cross-friendly piece of testsuite 
> code, although it would certainly be good to rework it to work with a 
> cross-GDB and cross-compiler.

An expert or a motivated individual can swap the code around to run gdb on the 
host; not a big deal to me.  I hate more, dozens of non-portable tests cases 
that need to be tweaked in some obscure fashion.  While it is nice if all 
testing worked in a full Canadian environment, I'm ok if people want to do 
native only, at first and just bail out (skip if target, host and build are not 
all the same) on the hard parts.  We then just welcome patches to extend 
coverage to cross targets, when people have the motivation to do it.

Reply via email to