This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

[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)


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