[igt-dev] [PATCH i-g-t 2/2] runner: Introduce per-test timeouts

Petri Latvala petri.latvala at intel.com
Tue Feb 18 11:26:03 UTC 2020


On Tue, Feb 18, 2020 at 10:24:12AM +0000, Chris Wilson wrote:
> Quoting Petri Latvala (2020-02-17 14:50:42)
> > A new config option, --per-test-timeout, sets a time a single test
> > cannot exceed without getting itself killed. The time resets when
> > starting a subtest or a dynamic subtest, so an execution with
> > --per-test-timeout=20 can indeed go over 20 seconds a long as it
> > launches a dynamic subtest within that time.
> > 
> > As a bonus, verbose log level from runner now also prints dynamic
> > subtest begin/result.
> > 
> > Signed-off-by: Petri Latvala <petri.latvala at intel.com>
> 
> I wish igt had a pipe back to the runner so there was a clear protocol
> for this rather than trying to re-interpret the user output. (What's
> that you could pass commands from individual tests back to the runner,
> such as changing the dmesg filters, timeouts etc, etc)

Stop spying on my local branches.


-- 
Petri Latvala


More information about the igt-dev mailing list