This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to add timeout to Ada tests on Linux/ia64?


On Wed, Mar 24, 2004 at 02:54:04PM -0800, H. J. Lu wrote:
> Some Ada tests in gcc 3.4 keep hanging for me on Linux/ia64. I have to
> kill them by hand. How do I add timeout in Ada tests?

The following change worked for me to stop some of the
tasking tests failing or hanging:
The One_Second constant is multiplied by all the delays
in the tasking tests.  I found on a loaded system the
supplied constant caused problems, I have had none since changing.
The tests still run 10x "realtime".

--
Chris Proctor

--- gcc/testsuite/ada/acats/support/impdef.a	27 Oct 2003 11:28:49 -0000	1.1
+++ gcc/testsuite/ada/acats/support/impdef.a	25 Mar 2004 07:59:10 -0000
@@ -338,7 +338,7 @@
 
 --=====-=====-=====-=====-=====-=====-=====-=====-=====-=====-=====-=====--
 
-   One_Second : constant Duration := 0.001;
+   One_Second : constant Duration := 0.1;
 
 end ImpDef;
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]