[igt-dev] [PATCH] tests/kms_prime: Filter out devices that can't import buffers.

Petri Latvala petri.latvala at intel.com
Wed Jun 16 07:34:04 UTC 2021


On Tue, Jun 15, 2021 at 06:20:23PM +0200, Christian König wrote:
> The alternative would be to try to create a framebuffer, but don't take it
> as a failure when that fails with the correct return code.

This.

If the importing can fail for documented reasons, we should just add
code that checks that the error is the documented one and then
igt_skip(), fail the test if it's something it shouldn't.

As a general rule the tests goes to hardware specific subdirs if the
interface tested is hardware-specific. This interface is not, just the
behaviour.


-- 
Petri Latvala


More information about the igt-dev mailing list