This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] tst-tls13 TIMEOUT too short for hppa
- From: Carlos O'Donell <carlos at baldric dot uwo dot ca>
- To: libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: Wed, 7 Jan 2004 03:48:27 -0500
- Subject: [PATCH] tst-tls13 TIMEOUT too short for hppa
libc-alpha,
The default timeout of 2 seconds is too short for hppa to dlopen and
dlclose 1000 times in tst-tls13.
A single PA8700 (PCX-W2) at 650MHz takes 3 seconds.
A single PA8500 (PCX-W) at 400MHz takes 4 seconds.
Please increase the timeout to 10 seconds so slightly slower machines
still pass the test. Our mmap nad munmap are painfully slow, we are
working on making it faster :)
c.
2004-01-07 Carlos O'Donell <carlos@baldric.uwo.ca>
* elf/tst-tls13.c (TIMEOUT): Increase to 10 seconds.
Some hppa machines are slow. Carlos O'Donell <carlos@baldric.uwo.ca>
has one.
Index: elf/tst-tls13.c
===================================================================
RCS file: /cvs/glibc/libc/elf/tst-tls13.c,v
retrieving revision 1.1
diff -u -p -r1.1 tst-tls13.c
--- elf/tst-tls13.c 27 Apr 2003 06:15:09 -0000 1.1
+++ elf/tst-tls13.c 7 Jan 2004 08:42:27 -0000
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
+#define TIMEOUT 10
static int
do_test (void)