From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16060 invoked by alias); 12 Jan 2004 21:35:18 -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 16019 invoked from network); 12 Jan 2004 21:35:16 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 12 Jan 2004 21:35:16 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id 593561A440D; Mon, 12 Jan 2004 16:33:43 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16387.4791.405199.995823@localhost.redhat.com> Date: Mon, 12 Jan 2004 21:35:00 -0000 To: gdb-patches@sources.redhat.com Subject: [PATCH] some testsuite cleanups X-SW-Source: 2004-01/txt/msg00325.txt.bz2 While trying to debug a runaway process, from a 'make check', I got a bit frustrated because the process was called pthreads, and there are several tests in the testsuite that have an executable called pthreads. I'll commit tomorrow. elena 2004-01-12 Elena Zannoni * gdb.threads/gcore-thread.exp: Prefix name of binary with test specific name. * gdb.mi/gdb669.exp: Ditto. * gdb.mi/mi-pthreads.exp: Ditto. * gdb.mi/mi1-pthreads.exp: Ditto. * gdb.mi/mi2-pthreads.exp: Ditto. Index: gdb669.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/gdb669.exp,v retrieving revision 1.4 diff -u -p -r1.4 gdb669.exp --- gdb669.exp 1 Feb 2003 20:47:16 -0000 1.4 +++ gdb669.exp 12 Jan 2004 20:16:01 -0000 @@ -176,7 +176,7 @@ proc check_mi_and_console_threads {name} # set testfile "pthreads" set srcfile "$testfile.c" -set binfile "$objdir/$subdir/$testfile" +set binfile "$objdir/$subdir/gdb669-$testfile" set options [list debug incdir=$objdir] if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { Index: mi-pthreads.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-pthreads.exp,v retrieving revision 1.6 diff -u -p -r1.6 mi-pthreads.exp --- mi-pthreads.exp 1 Feb 2003 20:47:16 -0000 1.6 +++ mi-pthreads.exp 12 Jan 2004 20:16:01 -0000 @@ -205,7 +205,7 @@ proc check_mi_thread_command_set {} { # set testfile "pthreads" set srcfile "$testfile.c" -set binfile "$objdir/$subdir/$testfile" +set binfile "$objdir/$subdir/mi-$testfile" set options [list debug incdir=$objdir] if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { Index: mi1-pthreads.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi1-pthreads.exp,v retrieving revision 1.4 diff -u -p -r1.4 mi1-pthreads.exp --- mi1-pthreads.exp 1 Feb 2003 20:47:16 -0000 1.4 +++ mi1-pthreads.exp 12 Jan 2004 20:16:02 -0000 @@ -205,7 +205,7 @@ proc check_mi_thread_command_set {} { # set testfile "pthreads" set srcfile "$testfile.c" -set binfile "$objdir/$subdir/$testfile" +set binfile "$objdir/$subdir/mi1-$testfile" set options [list debug incdir=$objdir] if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { Index: mi2-pthreads.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi2-pthreads.exp,v retrieving revision 1.1 diff -u -p -r1.1 mi2-pthreads.exp --- mi2-pthreads.exp 7 Aug 2003 17:47:42 -0000 1.1 +++ mi2-pthreads.exp 12 Jan 2004 20:16:02 -0000 @@ -205,7 +205,7 @@ proc check_mi_thread_command_set {} { # set testfile "pthreads" set srcfile "$testfile.c" -set binfile "$objdir/$subdir/$testfile" +set binfile "$objdir/$subdir/mi2-$testfile" set options [list debug incdir=$objdir] if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } { Index: gcore-thread.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/gcore-thread.exp,v retrieving revision 1.5 diff -u -p -r1.5 gcore-thread.exp --- gcore-thread.exp 13 Oct 2003 16:30:45 -0000 1.5 +++ gcore-thread.exp 12 Jan 2004 20:16:34 -0000 @@ -30,7 +30,7 @@ set bug_id 0 # Single-threaded test case set testfile "pthreads" set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} +set binfile ${objdir}/${subdir}/gcore-${testfile} if [istarget "*-*-linux"] then { set target_cflags "-D_MIT_POSIX_THREADS"