[igt-dev] [PATCH i-g-t 1/5] lib: Print subtest starting/ending line to stderr too

Petri Latvala petri.latvala at intel.com
Wed Aug 8 11:28:14 UTC 2018


On Wed, Aug 08, 2018 at 12:17:48PM +0100, Chris Wilson wrote:
> Quoting Petri Latvala (2018-08-08 12:06:57)
> > when instructed via the environment. This is needed for the new test
> > runner to properly assign stderr output to the correct subtest.
> 
> My assumption was that this would all be integrated into the igt
> framework, so this information would be provided by the runner to igt as
> part of its protocol -- I was expecting much more directness and that
> when we run the tests we get the same results as if run indirectly (kmsg
> capturing, warn diagnosing, /dev/watchdog integration, etc)


You can consider this a temporary implementation detail. I'm thinking
of making the tests print their logs via a single fd if the runner is
executing them, making all that sentinel business unnecessary.

Having the runner consolidate the logs and handle the log buffering
would also make it possible to grab the debug prints from
incompletes...



-- 
Petri Latvala


More information about the igt-dev mailing list