public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/1178] New: posix regex tests timeout on PII 180MHz
@ 2005-08-06 15:57 brandon_peirce at hotmail dot com
  2005-08-06 15:59 ` [Bug regex/1178] " brandon_peirce at hotmail dot com
  2005-08-06 16:09 ` jakub at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: brandon_peirce at hotmail dot com @ 2005-08-06 15:57 UTC (permalink / raw)
  To: glibc-bugs-regex

The timeouts are too short to complete two of the tests on a PII 180MHz box. 
Increase the timeouts for these 2 tests and the entire glibc test suite 
completes successfully (so I must have done something right :-).
posix/bug-regex24.c: increase from 30 to 45 sec (takes 41 on my box)
posix/tst-regex2.c: increase from 20 to 35 sec (takes 31 on my box)

Follows patch against release 2.3.4 to increase timeout to a minimum needed for 
successfull completion of tests.

___ Start of patch ___
diff -u glibc-2.3.4/posix/bug-regex24.c glibc/posix/bug-regex24.c
--- glibc-2.3.4/posix/bug-regex24.c     2004-11-15 22:59:15.000000000 +0100
+++ glibc/posix/bug-regex24.c   2005-08-06 11:06:15.000000000 +0200
@@ -55,6 +55,6 @@
   return result;
 }

-#define TIMEOUT 30
+#define TIMEOUT 45
 #define TEST_FUNCTION do_test ()
 #include "../test-skeleton.c"
diff -u glibc-2.3.4/posix/tst-regex2.c glibc/posix/tst-regex2.c
--- glibc-2.3.4/posix/tst-regex2.c      2004-12-10 01:40:08.000000000 +0100
+++ glibc/posix/tst-regex2.c    2005-08-06 11:05:45.000000000 +0200
@@ -244,6 +244,6 @@
   return 0;
 }

-#define TIMEOUT 20
+#define TIMEOUT 35
 #define TEST_FUNCTION do_test ()
 #include "../test-skeleton.c"
___ End of patch ___

-- 
           Summary: posix regex tests timeout on PII 180MHz
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: normal
          Priority: P3
         Component: regex
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: brandon_peirce at hotmail dot com
                CC: glibc-bugs-regex at sources dot redhat dot com,glibc-
                    bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1178

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug regex/1178] posix regex tests timeout on PII 180MHz
  2005-08-06 15:57 [Bug regex/1178] New: posix regex tests timeout on PII 180MHz brandon_peirce at hotmail dot com
@ 2005-08-06 15:59 ` brandon_peirce at hotmail dot com
  2005-08-06 16:09 ` jakub at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: brandon_peirce at hotmail dot com @ 2005-08-06 15:59 UTC (permalink / raw)
  To: glibc-bugs-regex



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
              Alias|                            |timout-regex-tests


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1178

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug regex/1178] posix regex tests timeout on PII 180MHz
  2005-08-06 15:57 [Bug regex/1178] New: posix regex tests timeout on PII 180MHz brandon_peirce at hotmail dot com
  2005-08-06 15:59 ` [Bug regex/1178] " brandon_peirce at hotmail dot com
@ 2005-08-06 16:09 ` jakub at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at redhat dot com @ 2005-08-06 16:09 UTC (permalink / raw)
  To: glibc-bugs-regex


------- Additional Comments From jakub at redhat dot com  2005-08-06 16:09 -------
That's not the right solution.  For very slow boxes such as yours,
just use TIMEOUTFACTOR=5 make -k check (or some other reasonable scaling
factor).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1178

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-06 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-06 15:57 [Bug regex/1178] New: posix regex tests timeout on PII 180MHz brandon_peirce at hotmail dot com
2005-08-06 15:59 ` [Bug regex/1178] " brandon_peirce at hotmail dot com
2005-08-06 16:09 ` jakub at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).