[igt-dev] [PATCH i-g-t v2 11/13] igt: tests: chamelium: Start to unify tests

Maxime Ripard maxime.ripard at bootlin.com
Mon Jan 21 13:17:12 UTC 2019


Hi,

On Thu, Jan 10, 2019 at 11:50:35AM +0100, Paul Kocialkowski wrote:
> On Tue, 2019-01-08 at 16:19 +0100, Maxime Ripard wrote:
> > The various tests in kms_chamelium are really variants of one another
> > but share little code.
> > 
> > In addition to the duplication, this gets in the way of the
> > introduction of more tests, or to be able to run all the tests on all
> > the output, which isn't the case at the moment, with the HDMI and DP
> > tests and the VGA tests being different.
> > 
> > Start by introducing a check parameter to the do_test_display
> > function, that will tell which test method we want to use to compare
> > the frames.
> 
> I think we can go even further and unify the assert_foo_or_dump
> functions, which would imply moving enum chamelium_check to
> igt_chamelium. It's probably best to do it in a separate patch though
> and I might have a go at it in the next revision of my plane testing
> series.
> 
> What do you think?

I don't have a strong opinion on this, so feel free to send that patch
:)

> > Signed-off-by: Maxime Ripard <maxime.ripard at bootlin.com>
> 
> Reviewed-by: Paul Kocialkowski <paul.kocialkowski at bootlin.com>

Thanks!
Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20190121/81cb4c8a/attachment.sig>


More information about the igt-dev mailing list