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]

Re: [RFC] Add TIMEOUT environment variable support to all tests,usable via <test>-ENV= in Makefile.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carlos O'Donell wrote:

> What do you think of the following, along with the hppa example Makefile
> modification? Builds, and allows hppa to pass the test. Not tested for
> any other arch, though I assume it should work.

That's not what I meant or want.

Use an envvar TIMEOUTFACTOR or so.  In the test skeleton code define a
variable to 1 by default, otherwise to the integer value of the envvar
(if > 0).  Multiply the usual timeout with this number.

And then add this variable in the environment when you compile.  No
Makefile changes.  Otherwise, what's the point?  One could just have
changed the code.

- -- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE//Q/A2ijCOnn/RHQRAn/WAJ9CzzcA5BJY4F44J7b0VMoof8MDrACfXhBX
QmK+EdLafUNlW6ac8GgNC/Q=
=45da
-----END PGP SIGNATURE-----


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