From 6a79501f2b9f60bdaa659b924f60bb5b6e13cb30 Mon Sep 17 00:00:00 2001 From: Daniele Ceraolo Spurio Date: Tue, 10 Oct 2017 15:28:56 +0300 Subject: 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 Signed-off-by: Joonas Lahtinen Cc: Chris Wilson Reviewed-by: Chris Wilson --- tests/Makefile.sources | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/Makefile.sources') diff --git a/tests/Makefile.sources b/tests/Makefile.sources index bb6652e2..9c9fb316 100644 --- a/tests/Makefile.sources +++ b/tests/Makefile.sources @@ -40,7 +40,6 @@ TESTS_progs = \ drv_module_reload \ drv_selftest \ drv_suspend \ - gem_bad_length \ gem_bad_reloc \ gem_basic \ gem_busy \ -- cgit v1.2.3