remote host testing expectations re multiple simultaneous connections

Simon Marchi
Wed Oct 31 12:20:00 GMT 2018

On 2018-10-28 13:43, Sandra Loosemore wrote:
> Our local remote-host DejaGnu test support (for testing on Windows
> host, actually) maintains some global state about the spawned GDB
> connection that is getting clobbered by opening another connection to
> the same host to run shell commands, resulting in GDB getting killed
> (so all these tests fail).  I've been struggling to find exactly what
> is going wrong, but wanted to make sure that this is actually a test
> harness bug and not broken testcases before spending any more time on
> it.
> It does seem like requiring support for multiple simultaneous
> connections to either a host or target would preclude testing on
> anything where all you have is a single serial connection to talk to
> it, and not (say) multiple ssh connections.

Ok, I understand.  If we can modify the test you referred to (by 
reordering operations) to make them work for your use case and it 
doesn't impact the quality of the test, then I don't see why it wouldn't 
be acceptable.


More information about the Gdb mailing list