[igt-dev] [PATCH i-g-t] tests/kms_pipe_crc_basic: Remove legacy crc tests

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Fri Mar 9 08:24:23 UTC 2018


Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
---
 tests/intel-ci/fast-feedback.testlist |  3 ---
 tests/kms_pipe_crc_basic.c            | 16 ----------------
 2 files changed, 19 deletions(-)

diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index f71a16bcd191..5bad8c799500 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -224,9 +224,6 @@ igt at kms_force_connector_basic@force-edid
 igt at kms_force_connector_basic@force-load-detect
 igt at kms_force_connector_basic@prune-stale-modes
 igt at kms_frontbuffer_tracking@basic
-igt at kms_pipe_crc_basic@bad-nb-words-1
-igt at kms_pipe_crc_basic@bad-nb-words-3
-igt at kms_pipe_crc_basic@bad-pipe
 igt at kms_pipe_crc_basic@bad-source
 igt at kms_pipe_crc_basic@hang-read-crc-pipe-a
 igt at kms_pipe_crc_basic@hang-read-crc-pipe-b
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index eaa5e316d074..235fdc386ba2 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -46,13 +46,6 @@ static struct {
 	{ .r = 0.0, .g = 1.0, .b = 1.0 },
 };
 
-static void test_bad_command(data_t *data, const char *cmd)
-{
-	igt_assert(!igt_sysfs_set(data->debugfs, "i915_display_crc_ctl", cmd));
-	igt_skip_on(errno == ENOENT);
-	igt_assert(errno == EINVAL);
-}
-
 static void test_bad_source(data_t *data)
 {
 	igt_assert(igt_sysfs_set(data->debugfs, "crtc-0/crc/control", "foo"));
@@ -193,18 +186,9 @@ igt_main
 		data.debugfs = igt_debugfs_dir(data.drm_fd);
 	}
 
-	igt_subtest("bad-pipe")
-		test_bad_command(&data, "pipe D none");
-
 	igt_subtest("bad-source")
 		test_bad_source(&data);
 
-	igt_subtest("bad-nb-words-1")
-		test_bad_command(&data, "pipe foo");
-
-	igt_subtest("bad-nb-words-3")
-		test_bad_command(&data, "pipe A none option");
-
 	igt_skip_on_simulation();
 
 	for (int i = 0; i < 3; i++) {
-- 
2.16.2



More information about the igt-dev mailing list