[PATCH 1/3] dma-buf: Introduce selftesting framework

Chris Wilson chris at chris-wilson.co.uk
Mon Aug 19 17:12:42 UTC 2019


Quoting Chris Wilson (2019-08-19 10:59:26)
> In light of recent review slip ups, the absence of a suite of tests for
> dma-buf became apparent. Given the current plethora of testing
> frameworks, opt for one already in use by Intel's CI and so allow easy
> hook up into igt.
> 
> We introduce a new module that when loaded will execute the list of
> selftests and their subtest. The names of the selftests are put into the
> modinfo as parameters so that igt can identify each, and run them
> independently, principally for ease of error reporting.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Tomi Sarvela <tomi.p.sarvela at intel.com>

As a separate module with no exports, I feel confident in pushing this
with only Daniel's irc ack. As soon as it is coupled up to CI, we can
start beating on it and provide feedback for dma-fence-* / dma-resv
selftests as they are submitted.
-Chris


More information about the dri-devel mailing list