[igt-dev] [PATCH i-g-t 1/4] tests/kms_invalid_dotclock: Rename to kms_invalid_mode

Ville Syrjala ville.syrjala at linux.intel.com
Fri Nov 15 13:15:17 UTC 2019


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Let's add some more tests for invalid modes. To that end rename
the current kms_invalid_dotclock to kms_invalid_mode so we a
place where to put these.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tests/Makefile.sources                               | 2 +-
 tests/{kms_invalid_dotclock.c => kms_invalid_mode.c} | 2 +-
 tests/meson.build                                    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename tests/{kms_invalid_dotclock.c => kms_invalid_mode.c} (99%)

diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 27801c89c46d..59d02462dd61 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -53,7 +53,7 @@ TESTS_progs = \
 	kms_frontbuffer_tracking \
 	kms_getfb \
 	kms_hdmi_inject \
-	kms_invalid_dotclock \
+	kms_invalid_mode \
 	kms_lease \
 	kms_legacy_colorkey \
 	kms_mmap_write_crc \
diff --git a/tests/kms_invalid_dotclock.c b/tests/kms_invalid_mode.c
similarity index 99%
rename from tests/kms_invalid_dotclock.c
rename to tests/kms_invalid_mode.c
index 275007df942d..1e8a354b5b3a 100644
--- a/tests/kms_invalid_dotclock.c
+++ b/tests/kms_invalid_mode.c
@@ -25,7 +25,7 @@
 #include "igt.h"
 #include <stdbool.h>
 
-IGT_TEST_DESCRIPTION("Make sure all modesets are rejected when the requested dotclock is too high");
+IGT_TEST_DESCRIPTION("Make sure all modesets are rejected when the requested mode is invalid");
 
 typedef struct {
 	int drm_fd;
diff --git a/tests/meson.build b/tests/meson.build
index 755fc9e6f2d7..5c074ce9d2d3 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -38,7 +38,7 @@ test_progs = [
 	'kms_frontbuffer_tracking',
 	'kms_getfb',
 	'kms_hdmi_inject',
-	'kms_invalid_dotclock',
+	'kms_invalid_mode',
 	'kms_lease',
 	'kms_legacy_colorkey',
 	'kms_mmap_write_crc',
-- 
2.23.0



More information about the igt-dev mailing list