From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91853 invoked by alias); 31 Oct 2018 12:20:29 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 90746 invoked by uid 89); 31 Oct 2018 12:20:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=loosemore, Sandra, Loosemore, Our X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 31 Oct 2018 12:20:27 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id w9VCKKTs028371 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 31 Oct 2018 08:20:25 -0400 Received: by simark.ca (Postfix, from userid 112) id 6CF9F1EA80; Wed, 31 Oct 2018 08:20:20 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id C80881E514; Wed, 31 Oct 2018 08:20:19 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 31 Oct 2018 12:20:00 -0000 From: Simon Marchi To: Sandra Loosemore Cc: gdb@sourceware.org Subject: Re: remote host testing expectations re multiple simultaneous connections In-Reply-To: <993f1ebe-d055-d1a1-879a-5cd2d8c8fd35@codesourcery.com> References: <30184147-e912-0713-d561-8131e7f629aa@codesourcery.com> <993f1ebe-d055-d1a1-879a-5cd2d8c8fd35@codesourcery.com> Message-ID: X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.3.6 X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00063.txt.bz2 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. Simon