[commit, testsuite] Skip new C++ test on spu-elf

Ulrich Weigand uweigand@de.ibm.com
Sun Sep 27 20:54:00 GMT 2009


Hello,

the new gdb.cp/gdb2495.exp outputs a bunch of compiler errors on spu-elf
because the test case exceeds local store size.  This patch simply skips
the test on the platform, just like a couple of other C++ tests are skipped.

Tested on spu-elf, committed to mainline.

Bye,
Ulrich

ChangeLog:

	* gdb.cp/gdb2495.exp: Skip test on spu*-*-*.


Index: gdb/testsuite/gdb.cp/gdb2495.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/gdb2495.exp,v
retrieving revision 1.1
diff -c -p -r1.1 gdb2495.exp
*** gdb/testsuite/gdb.cp/gdb2495.exp	15 Jun 2009 12:11:37 -0000	1.1
--- gdb/testsuite/gdb.cp/gdb2495.exp	25 Sep 2009 14:43:08 -0000
*************** if $tracelevel then {
*** 35,40 ****
--- 35,45 ----
  
  if { [skip_cplus_tests] } { continue }
  
+ # On SPU this test fails because the executable exceeds local storage size.
+ if { [istarget "spu*-*-*"] } {
+         return 0
+ }
+ 
  set prms_id 2495
  set bug_id 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