[commit] Re-enable two test cases for the SPU

Ulrich Weigand uweigand@de.ibm.com
Fri Apr 3 14:40:00 GMT 2009


Hello,

this patch re-enables two test cases for the SPU, which I disabled quite
a while ago due to the SPU not supporting "sleep".  As support for that
system call has in fact been added, and is now available in all current
distributions for the SPU, I'm re-enabling the test cases now.

Note that enabling attach.exp exposed two unrelated FAILs, which I'll
fix in a follow-up patch.

Committed to mainline.

Bye,
Ulrich

ChangeLog:

	* gdb.base/attach.exp: Re-enable for spu*-*-* targets.
	* gdb.server/ext-attach.exp: Likewise.

Index: gdb/testsuite/gdb.base/attach.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/attach.exp,v
retrieving revision 1.24
diff -u -p -r1.24 attach.exp
--- gdb/testsuite/gdb.base/attach.exp	3 Jan 2009 05:58:03 -0000	1.24
+++ gdb/testsuite/gdb.base/attach.exp	3 Apr 2009 12:57:04 -0000
@@ -32,11 +32,6 @@ if { [istarget "hppa*-*-hpux*"] } {
     return 0
 }
 
-# On SPU, this test currently fails because "sleep" is not supported.
-if { [istarget "spu*-*-*"] } {
-	return 0
-}
-
 # are we on a target board
 if [is_remote target] then {
     return 0
Index: gdb/testsuite/gdb.server/ext-attach.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.server/ext-attach.exp,v
retrieving revision 1.3
diff -u -p -r1.3 ext-attach.exp
--- gdb/testsuite/gdb.server/ext-attach.exp	2 Apr 2009 22:40:10 -0000	1.3
+++ gdb/testsuite/gdb.server/ext-attach.exp	3 Apr 2009 12:57:04 -0000
@@ -27,11 +27,6 @@ if { [skip_gdbserver_tests] } {
     return 0
 }
 
-# On SPU, this test currently fails because "sleep" is not supported.
-if { [istarget "spu*-*-*"] } {
-	return 0
-}
-
 # We need to use TCL's exec to get the pid.
 if [is_remote target] then {
     return 0
-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list