lib/drmtest: skip when prefault control isn't available
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Sep 2013 08:47:07 +0000 (10:47 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Sep 2013 08:47:07 +0000 (10:47 +0200)
commitb3a61c802872b4219699616f64dfcb572971afdd
tree9436a212a516c7ecaee909dffe95d90abe06e23f
parent2b218f69d7e2892ed1a2a2b3bc9663c35acee288
lib/drmtest: skip when prefault control isn't available

Instead of crashing with an igt_assert. Fixes the only crashing test
when running igt on non-intel systems.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.c