From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28833 invoked by alias); 25 Sep 2002 15:17:39 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28825 invoked from network); 25 Sep 2002 15:17:38 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 25 Sep 2002 15:17:38 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g8PExgi25814 for ; Wed, 25 Sep 2002 10:59:42 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8PFHVl14688; Wed, 25 Sep 2002 11:17:31 -0400 Received: from tonopah.toronto.redhat.com (tonopah.toronto.redhat.com [172.16.14.91]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g8PFHRw26943; Wed, 25 Sep 2002 08:17:27 -0700 Received: (from wilson@localhost) by tonopah.toronto.redhat.com (8.11.6/8.11.6) id g8PFHN125747; Wed, 25 Sep 2002 11:17:23 -0400 X-Authentication-Warning: tonopah.toronto.redhat.com: wilson set sender to wilson@redhat.com using -f To: Richard.Earnshaw@arm.com Cc: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com Subject: Re: Dejagnu and parallel make tests of gcc References: <200209241549.g8OFnkE14794@pc960.cambridge.arm.com> From: Jim Wilson Date: Wed, 25 Sep 2002 08:17:00 -0000 In-Reply-To: <200209241549.g8OFnkE14794@pc960.cambridge.arm.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-09/txt/msg00610.txt.bz2 >The problem was the pesky testglue.o file that is used to wrap executables >that are run on the simulator, or other non-native targets. By the way, the testglue.o file is only needed for broken simulators and broken monitors that are unable to return the process exit code. It would be better to try to fix the broken simulators/monitors than to continue to make this hack more complicated. The hack was added originally because Cygnus had no monitor sources, and thus fixing broken monitors was not an option. Unfortunately, people then started using it to justify broken simulators, and now we have a mess. The way this is supposed to work is that the simulator should return the simulated process exit code as its own exit code. Then we can do testing on simulators by doing "sh simulator testcase" instead of "sh testcase". The testglue.o file is not needed in this case, and everything works better. You can disable use of testglue.o in dejagnu by deleting the line that sets needs_status_wrapper to 1. Jim