Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] some testsuite cleanups
Date: Mon, 12 Jan 2004 21:35:00 -0000	[thread overview]
Message-ID: <16387.4791.405199.995823@localhost.redhat.com> (raw)


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  <ezannoni@redhat.com>
 
        * 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"


             reply	other threads:[~2004-01-12 21:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-12 21:35 Elena Zannoni [this message]
2004-01-12 22:24 Michael Elizabeth Chastain
2004-01-12 23:11 ` Elena Zannoni
2004-01-13 17:08   ` Elena Zannoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16387.4791.405199.995823@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox