Re: [PATCH] igt/gem_workarounds: igt to test workaround registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux