tests/prime_self_import: add subtest to export/import a second gem buffer

Also add a subtest for the fd=handle_to_fd(), fd2=dup(fd), close(fd)
case (idea from Kristian Høgsberg).

Signed-off-by: Imre Deak <imre.deak@intel.com>

v2:
- add a new subtest instead of modifying the original test (Daniel)
- add a new subtest for testing dup (Kristian)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Imre Deak
2013-04-17 23:18:02 +03:00
committed by Daniel Vetter
parent 6f0d8b011e
commit 70afbead46
2 changed files with 87 additions and 3 deletions
+1 -1
View File
@@ -32,6 +32,7 @@ TESTS_progs_M = \
gem_tiled_partial_pwrite_pread \
$(NOUVEAU_TESTS_M) \
kms_flip \
prime_self_import \
$(NULL)
TESTS_progs = \
@@ -101,7 +102,6 @@ TESTS_progs = \
gem_reg_read \
gem_tiling_max_stride \
$(NOUVEAU_TESTS) \
prime_self_import \
prime_udl \
$(NULL)