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] increase tst-tls13.c timeout.


I've found that on at least some MIPS systems, tst-tls13.c takes
substantially longer to run than the default 2s timeout.

For one of my test systems here (with all files on NFS, etc.), it
works just fine but takes 4-5s to complete.

Below is a patch which ups the timeout to 8s (i.e., expected time plus
some amount of cushion).

(tested using glibc sources as of 2003-08-16 00:00 UTC.)


Thanks,

chris
--
Chris Demetriou                                            Broadcom Corporation
                Principal Design Engineer, Broadband Processors
  Any opinions expressed in this message are mine, not necessarily Broadcom's.
--
2003-09-08  Chris Demetriou  <cgd@broadcom.com>

        * elf/tst-tls13.c (TIMEOUT): Define to 8 seconds.

Index: systemsw/tools/src/glibc/elf/tst-tls13.c
diff -u systemsw/tools/src/glibc/elf/tst-tls13.c:1.1.1.1 systemsw/tools/src/glibc/elf/tst-tls13.c:1.4
--- systemsw/tools/src/glibc/elf/tst-tls13.c:1.1.1.1	Fri Aug 15 19:32:50 2003
+++ systemsw/tools/src/glibc/elf/tst-tls13.c	Sat Aug 30 20:02:55 2003
@@ -26,4 +26,5 @@
 }
 
 #define TEST_FUNCTION do_test ()
+#define TIMEOUT 8		/* This takes a fairly long time on MIPS.  */
 #include "../test-skeleton.c"


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