This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: How to abort a test?
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, dejagnu at gnu dot org, gdb-patches <gdb-patches at sourceware dot org>
- Date: Thu, 14 Jan 2016 19:48:46 +0000
- Subject: Re: How to abort a test?
- Authentication-results: sourceware.org; auth=none
- References: <56958359 dot 8070708 at ericsson dot com> <5697CC09 dot 8010306 at redhat dot com> <5697D721 dot 1000305 at ericsson dot com> <5697DABA dot 8010008 at redhat dot com> <5697FA6C dot 7060703 at ericsson dot com>
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