From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3920 invoked by alias); 29 Oct 2004 19:43:36 -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 3902 invoked from network); 29 Oct 2004 19:43:35 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 29 Oct 2004 19:43:35 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id i9TJhUSq001827 for ; Fri, 29 Oct 2004 15:43:30 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i9TJhPr01322; Fri, 29 Oct 2004 15:43:25 -0400 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C3D5D129D8B; Fri, 29 Oct 2004 15:41:49 -0400 (EDT) Message-ID: <41829CFD.7020009@gnu.org> Date: Fri, 29 Oct 2004 19:43:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/testsuite] Stop sharing .c file between 2 testcases References: <20041029170240.GQ27334@gnat.com> In-Reply-To: <20041029170240.GQ27334@gnat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00481.txt.bz2 Joel Brobecker wrote: > I just read in one thread that we don't want to share .c files between > testcases. This reminded me of a testcase I recently added which did > use the .c file from another testcase... This patch should fix it. > > 2004-10-29 Joel Brobecker > > * gdb.threads/bp_in_thread.c: New file, copied from > pthread_cond_wait.c. > * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source > file, rather than using the .c file of another testcase. > > Tested on x86-linux. Ok to apply? Right, "obvious". Good catch. Andrew