[PATCH 0/2] drm: revert some framebuffer API tests
Guenter Roeck
linux at roeck-us.net
Wed Sep 25 16:04:39 UTC 2024
On 9/25/24 06:05, Maxime Ripard wrote:
[ ... ]
>> We've had similar discussions in the past around unit tests that wasted
>> too much cpu time with randomized combinatorial testing, and we've thrown
>> those out too from drm. Test hygiene matters.
>
> We had that discussion because those tests could run for up to around a
> minute on certain platforms. It's not the same issue at all?
>
I added "kunit.stats_enabled=2 kunit.filter=speed>slow" to the kernel command
line in my tests to avoid long-running tests. That works as long as slow tests
are marked accordingly using KUNIT_CASE_SLOW(), KUNIT_SPEED_SLOW, or
KUNIT_SPEED_VERY_SLOW.
Guenter
More information about the Intel-gfx
mailing list