tests: Add kms_flip_event_leak test
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Aug 2014 20:06:04 +0000 (23:06 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 Aug 2014 16:12:52 +0000 (19:12 +0300)
commiteda904c9d787bd085be3803529c7f23f81ec174b
tree70fe871434ce67bd2ca9670742f1f2eeb8b9f958
parent5a06d361b5941466ef1941bb6010f179dbb6f66e
tests: Add kms_flip_event_leak test

kms_flip_event_leak will issue a page flip and close the file
descriptor before the flip has finished. This may cause the kernel
to leak the page flip event. The test itself won't actually fail but
if the kernel notices the leak and WARNs piglit will report a failure.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
tests/Makefile.sources
tests/kms_flip_event_leak.c [new file with mode: 0644]