summaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>2017-10-10 15:28:56 +0300
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>2017-10-12 11:34:21 +0300
commit6a79501f2b9f60bdaa659b924f60bb5b6e13cb30 (patch)
tree3181f8c2f62d116ebbdd44a570e710c0fcc17f3c /tests/meson.build
parent3fb7add738bb05b617dfbcb14ee59ded000be969 (diff)
tests: Drop gem_bad_length as redundant
Most of the gem_bad_length code is compiled out because creating a zero-length object is not allowed anymore by i915 and thus it is not possible to execute it. The remaining part checks that creation of a zero-length object does indeed fail, which is also checked by gem_create/create-invalid-size. The only difference between the 2 tests is that gem_bad_length checks specifically for EINVAL while create-invalid-size only looks for failure, so after adding the EINVAL check to create-invalid-size it is safe to drop gem_bad_length. v2 (Joonas): - Clarify header line, split the patch, fix Meson build and add Cc: Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 6cb3584a..85666f6d 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -20,7 +20,6 @@ test_progs = [
'drv_module_reload',
'drv_selftest',
'drv_suspend',
- 'gem_bad_length',
'gem_bad_reloc',
'gem_basic',
'gem_busy',