From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18163 invoked by alias); 19 Aug 2009 05:22:22 -0000 Received: (qmail 18153 invoked by uid 22791); 19 Aug 2009 05:22:21 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_32,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Aug 2009 05:22:15 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mddcg-0002wM-Nf for gdb-patches@sources.redhat.com; Wed, 19 Aug 2009 07:22:10 +0200 Received: from h86-62-88-129.ln.rinet.ru ([86.62.88.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Aug 2009 07:22:10 +0200 Received: from vladimir by h86-62-88-129.ln.rinet.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Aug 2009 07:22:10 +0200 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: Disable gdb.mi environment-pwd tests for remote-host testing Date: Wed, 19 Aug 2009 07:56:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00301.txt.bz2 Joseph S. Myers wrote: > When doing remote-host testing, it is generally necessary that any path > that is available on the build system and used in testing (the source and > object directories, in particular) is also available on the host system > with the same contents (that is, a shared filesystem is used). In theory > it is not needed, but most DejaGnu testsuites do not do all the copying > between build and host systems that is required to work without a shared > filesystem. > > Although the path must be available on both systems, the canonical form > may not be the same on both systems (for example, the path on the host may > be a symlink to a /net automount from the build system, or the host may > have a different OS using different path conventions). mi-basics.exp and > mi2-basics.exp contain tests of environment-pwd which are thus > inappropriate in the remote-host case, since this command calls getcwd > which may return a canonical path for the host, not the same as the path > on the build system. This patch disables the problematic tests for the > remote-host case. OK to commit? This patch is OK. However, please add a comment in the testcase explaining why the test is not run for remote host testing -- some condensed form of the above. Thanks, Volodya