Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] some testsuite cleanups
@ 2004-01-12 21:35 Elena Zannoni
  0 siblings, 0 replies; 4+ messages in thread
From: Elena Zannoni @ 2004-01-12 21:35 UTC (permalink / raw)
  To: gdb-patches


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"


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [PATCH] some testsuite cleanups
@ 2004-01-12 22:24 Michael Elizabeth Chastain
  2004-01-12 23:11 ` Elena Zannoni
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Elizabeth Chastain @ 2004-01-12 22:24 UTC (permalink / raw)
  To: ezannoni, gdb-patches

Proofread, looks okay to me.  You need to touch the copyright years
in the files.  Not tested.

Michael C

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-13 17:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-12 21:35 [PATCH] some testsuite cleanups Elena Zannoni
2004-01-12 22:24 Michael Elizabeth Chastain
2004-01-12 23:11 ` Elena Zannoni
2004-01-13 17:08   ` Elena Zannoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox