tests: Add blob-property test

Exercises the new blob-creation ioctl, testing lifetimes and behaviour
of user-created blobs, as well as exercising all the invariant
conditions we guarantee from modes exposed as blob properties.

v2: Renamed to core_prop_blob, skip test if blob not available.
v3: No changes.
v4: Consistently return 0/errno.
v5: Use do_ioctl_err and igt_assert_fd.
    Use igt_assert_*() helper macros rather than direct igt_assert().

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter@intel.com>
This commit is contained in:
Daniel Stone
2015-03-16 20:06:55 +00:00
parent 668c053e6a
commit bbd193b478
3 changed files with 230 additions and 0 deletions
+1
View File
@@ -99,6 +99,7 @@ TESTS_progs = \
core_getclient \
core_getstats \
core_getversion \
core_prop_blob \
drm_auth \
drm_import_export \
drm_read \