[igt-dev] [i-g-t V6 70/81] tests/kms_selftest: Document each subtest for testplan

Bhanuprakash Modem bhanuprakash.modem at intel.com
Fri Aug 11 18:46:44 UTC 2023


Add documentation for all kms tests which is used by IGT testplan
documentation.

V2: - Fix the documentation for renamed tests

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Reviewed-by: Swati Sharma <swati2.sharma at intel.com>
---
 tests/kms_selftest.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/tests/kms_selftest.c b/tests/kms_selftest.c
index 5495c24f2..940fc3d8d 100644
--- a/tests/kms_selftest.c
+++ b/tests/kms_selftest.c
@@ -23,6 +23,29 @@
 
 #include "igt.h"
 #include "igt_kmod.h"
+/**
+ * TEST: kms selftest
+ * Category: Display
+ * Description: Basic sanity check of KMS selftests.
+ *
+ * SUBTEST: %s
+ * Description: Basic sanity check of KMS selftest %arg[1].
+ * Driver requirement: any
+ * Functionality: kms_core
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @drm_cmdline:            drm cmdline
+ * @drm_damage:             drm damage
+ * @drm_dp_mst:             drm dp mst
+ * @drm_format_helper:      drm format helper
+ * @drm_format:             drm format
+ * @drm_plane:              drm plane
+ * @framebuffer:            framebuffer
+ */
 
 IGT_TEST_DESCRIPTION("Basic sanity check of KMS selftests.");
 
-- 
2.40.0



More information about the igt-dev mailing list