summaryrefslogtreecommitdiff
path: root/tests/gem_flink.c
AgeCommit message (Collapse)Author
2011-12-18tests/gem_flink: Check for MASTER before proceedingChris Wilson
gem_flink|gem_open are DRM_AUTH ioctl, and being lazy we do not establish ourselves as authenticated before testing the ioctls. So instead of aborting, skip the test unless we have root privileges (and so DRM_MASTER and the DRM_AUTH restriction no longer applies). A future test could assert that the flink fails without proper authentication. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43924 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-10tests: Update for ENOENT returns from unknown handlesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-04-06Use libudev in test case to only run gem tests for intel devices.Kristian Høgsberg
2008-09-10drm: Add tests for GEM_FLINK ioctl.Eric Anholt