[Intel-gfx] [PATCH] igt/gem_workarounds: igt to test workaround registers

Damien Lespiau damien.lespiau at intel.com
Sat Aug 30 17:25:29 CEST 2014


On Tue, Aug 26, 2014 at 02:50:28PM +0100, Arun Siluvery wrote:
> +	igt_fixture {

[...]

> +
> +		fd = igt_debugfs_open("intel_wa_registers", O_RDONLY);
> +		igt_assert(fd >= 0);

This will make the test fail on kernels that don't have your kernel work
exposing that debugfs file. It should skip instead.

-- 
Damien



More information about the Intel-gfx mailing list