[Ada testsuite] Disable gnat.db/socket1.adb test on Solaris 2

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Mar 15 18:46:00 GMT 2010


I've been bitten several times that the 64-bit version of the
socket1.adb gnat.dg test consumes all available memory on at least
Solaris 10 and 11, both SPARC and x86.  Often, the machine became
completely unusable.  I've been unable to further investigate this so
far: if I run the test standalone, it just SEGVs instead of consuming
memory.  Therefore, I'd like to disable the test completely on all
Solaris 2 targets.  Strictly speaking, the problem only exists for
64-bit, but I think it would require a .x file to be more selective
here, provided gnat.dg supports them at all.

Ok for mainline?

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


2010-02-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	gcc/testsuite:
	* gnat.dg/socket1.adb: Disable on *-*-solaris2*.


iff -r ab731b929e8b -r 63dfcb724499 gcc/testsuite/gnat.dg/socket1.adb
--- a/gcc/testsuite/gnat.dg/socket1.adb	Sun Mar 14 02:00:06 2010 +0100
+++ b/gcc/testsuite/gnat.dg/socket1.adb	Sun Mar 14 02:01:20 2010 +0100
@@ -1,4 +1,4 @@
--- { dg-do run }
+-- { dg-do run { target { ! "*-*-solaris2*" } } }
 
 with GNAT.Sockets; use GNAT.Sockets;
 procedure socket1 is



More information about the Gcc-patches mailing list