[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU Bison 2.0] testsuite: 91 92 93 failed on GNU/Linux on Alpha
From: |
Paul Eggert |
Subject: |
Re: [GNU Bison 2.0] testsuite: 91 92 93 failed on GNU/Linux on Alpha |
Date: |
Mon, 10 Jan 2005 10:23:42 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
"Nelson H. F. Beebe" <address@hidden> writes:
> Paul Eggert <address@hidden> suggests trying to change the
> time from 10 to 100 seconds in the call to alarm() in tests/calc.at.
>
> I made that experiment on the DEC Alphastation 200 4/100 system, which
> is indeed old (July 1995 vintage) and slow. The "make check" run for
> bison-2.0 then completed successfully, reporting after a 64-minute
> run:
>
> 125 tests were successful.
> 2 tests were skipped.
Thanks for testing that. I installed this patch:
2005-01-10 Paul Eggert <address@hidden>
* tests/calc.at (_AT_DATA_CALC_Y): Use alarm (100), not alarm (10),
for the benefit of slower hosts. Problem reported by
Nelson H. F. Beebe.
--- calc.at 20 Dec 2004 13:56:38 -0000 1.70
+++ calc.at 10 Jan 2005 18:22:11 -0000 1.71
@@ -1,5 +1,7 @@
# Simple calculator. -*- Autotest -*-
-# Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software
+# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -300,7 +302,11 @@ main (int argc, const char **argv)
int count = 0;
int status;
- alarm (10);
+ /* This used to be alarm (10), but that isn't enough time for
+ a July 1995 vintage DEC Alphastation 200 4/100 system,
+ according to Nelson H. F. Beebe. 100 seconds is enough. */
+ alarm (100);
+
if (argc == 2)
yyin = fopen (argv[1], "r");
else