dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to abort a test?


From: Pedro Alves
Subject: Re: How to abort a test?
Date: Thu, 14 Jan 2016 19:48:46 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 01/14/2016 07:43 PM, Simon Marchi wrote:
> On 16-01-14 12:28 PM, Pedro Alves wrote:

> Hmm if I try to put a call to
> 
>   [remote_file target exists "/home/simark/nonexistent"]
> 
> It always returns true somehow.  When I dig, I find this error:
> 
>   {rsh to target failed for test -f /home/simark/nonexistent, rsh: Could not 
> resolve hostname target: Name or service not known}
> 
> At this point I think the target board is not set (we are currently parsing 
> it), so we
> probably can't do operations on it.

Yeah, sounds like it.

> 
> Anyway, the point is not to fix it for my particular case, but to make the 
> general
> testsuite more robust.  I think I'll send a patch for Dejagnu for the 
> "unresolved"
> solution, and see what the maintainers think.

If you're willing to do the leg work, that's fantastic, of course.

-- 
Pedro Alves




reply via email to

[Prev in Thread] Current Thread [Next in Thread]