This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Skip some more too-large C++ test cases on SPU
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 11 Jun 2010 19:42:55 +0200 (CEST)
- Subject: [commit] Skip some more too-large C++ test cases on SPU
Hello,
C++ tests, in particular if they link against libstdc++, tend to exceed
the local store size on the SPU; several of those are already skipped.
This patch does the same with two new test cases with the same problem.
Tested on spu-elf, committed to mainline.
Bye,
Ulrich
ChangeLog:
* gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
* gdb.cp/pr9167.exp: Likewise.
Index: gdb/testsuite/gdb.cp/cpexprs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/cpexprs.exp,v
retrieving revision 1.2
diff -u -p -r1.2 cpexprs.exp
--- gdb/testsuite/gdb.cp/cpexprs.exp 5 May 2010 18:06:58 -0000 1.2
+++ gdb/testsuite/gdb.cp/cpexprs.exp 11 Jun 2010 17:05:58 -0000
@@ -669,6 +669,11 @@ if {$tracelevel} {
if {[skip_cplus_tests]} { continue }
+# On SPU this test fails because the executable exceeds local storage size.
+if { [istarget "spu*-*-*"] } {
+ return 0
+}
+
#
# test running programs
#
Index: gdb/testsuite/gdb.cp/pr9167.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/pr9167.exp,v
retrieving revision 1.1
diff -u -p -r1.1 pr9167.exp
--- gdb/testsuite/gdb.cp/pr9167.exp 21 Apr 2010 17:33:54 -0000 1.1
+++ gdb/testsuite/gdb.cp/pr9167.exp 11 Jun 2010 17:05:58 -0000
@@ -13,6 +13,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# On SPU this test fails because the executable exceeds local storage size.
+if { [istarget "spu*-*-*"] } {
+ return 0
+}
+
set testfile pr9167
set srcfile ${testfile}.cc
if [prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}] {
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com