Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/tests/syscall

On May 21,  5:25pm, (David Laight) wrote:
-- Subject: Re: CVS commit: src/tests/syscall

| On Sat, May 21, 2011 at 05:14:07PM +0200, Manuel Bouyer wrote:
| > On Sat, May 21, 2011 at 03:34:22PM +0100, Julio Merino wrote:
| > > Yes, the timeout thing is broken.  It should really be a
| > > specification of the test case size (e.g. 'small', 'large') and
| > > allow the user to define his timeout preferences for every class,
| > > because they will vary from machine to machine.
| > 
| > Sure. I ran ATF on a machine with a 1Mhz CPU clock (this is a
| > simulator, the real hardware is expected to run faster :).
| > Lots of tests timed out just because on such hardware they can't
| > complete in less than 5mn.
| Perhaps the timeout(s) should be settable units that default
| to 1 second.
| Them the timeouts can be scaled for very slow (or fast) systems.

That should be easy to do since they are already strings.
1sec, 1msec, 1usec, 1nsec


Home | Main Index | Thread Index | Old Index