[commit] Enable some tests for remote testing (fwd)

Message ID 201108121557.p7CFv5S3019670@d06av02.portsmouth.uk.ibm.com
State Accepted
Headers show

Commit Message

Ulrich Weigand Aug. 12, 2011, 3:57 p.m.
http://sourceware.org/ml/gdb-patches/2011-08/msg00251.html

ChangeLog:

	* gdb.threads/pthreads.exp: Enable on non-native configurations.
	* gdb.mi/mi-pthreads.exp: Likewise.
	* gdb.mi/mi2-pthreads.exp: Likewise.
	* gdb.mi/gdb669.exp.exp: Likewise.

Patch

Index: gdb/testsuite/gdb.mi/gdb669.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/gdb669.exp,v
retrieving revision 1.14
diff -u -p -r1.14 gdb669.exp
--- gdb/testsuite/gdb.mi/gdb669.exp	1 Jan 2011 15:33:47 -0000	1.14
+++ gdb/testsuite/gdb.mi/gdb669.exp	12 Aug 2011 15:06:44 -0000
@@ -18,11 +18,6 @@ 
 # command "info threads" and the MI command "-thread-list-ids"
 # return different threads in the system.
 
-# This only works with native configurations
-if {![isnative]} {
-  return
-}
-
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
Index: gdb/testsuite/gdb.mi/mi-pthreads.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-pthreads.exp,v
retrieving revision 1.18
diff -u -p -r1.18 mi-pthreads.exp
--- gdb/testsuite/gdb.mi/mi-pthreads.exp	12 Jan 2011 21:09:39 -0000	1.18
+++ gdb/testsuite/gdb.mi/mi-pthreads.exp	12 Aug 2011 15:06:44 -0000
@@ -20,11 +20,6 @@ 
 # via these command pathways are properly executed. Console commands
 # executed via MI should use MI output wrappers, MI event handlers, etc.
 
-# This only works with native configurations
-if {![isnative]} {
-  return
-}
-
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"
 
Index: gdb/testsuite/gdb.mi/mi2-pthreads.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi2-pthreads.exp,v
retrieving revision 1.12
diff -u -p -r1.12 mi2-pthreads.exp
--- gdb/testsuite/gdb.mi/mi2-pthreads.exp	12 Jan 2011 21:09:39 -0000	1.12
+++ gdb/testsuite/gdb.mi/mi2-pthreads.exp	12 Aug 2011 15:06:44 -0000
@@ -20,11 +20,6 @@ 
 # via these command pathways are properly executed. Console commands
 # executed via MI should use MI output wrappers, MI event handlers, etc.
 
-# This only works with native configurations
-if {![isnative]} {
-  return
-}
-
 load_lib mi-support.exp
 set MIFLAGS "-i=mi2"
 
Index: gdb/testsuite/gdb.threads/pthreads.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/pthreads.exp,v
retrieving revision 1.24
diff -u -p -r1.24 pthreads.exp
--- gdb/testsuite/gdb.threads/pthreads.exp	1 Jan 2011 15:33:50 -0000	1.24
+++ gdb/testsuite/gdb.threads/pthreads.exp	12 Aug 2011 15:06:44 -0000
@@ -21,11 +21,6 @@  if $tracelevel then {
 }
 
 
-# This only works with native configurations
-if ![isnative] then {
-    return
-}
-
 set testfile "pthreads"
 set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}