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

Chris Wilson chris at chris-wilson.co.uk
Tue Feb 18 10:24:12 UTC 2020


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)

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the igt-dev mailing list