This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit, testsuite] Skip new C++ test on spu-elf
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 27 Sep 2009 22:54:20 +0200 (CEST)
- Subject: [commit, testsuite] Skip new C++ test on spu-elf
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