[igt-dev] [PATCH i-g-t] tests/debugfs_test: Added test description for test case
priyanka.dandamudi at intel.com
priyanka.dandamudi at intel.com
Tue Feb 2 04:17:30 UTC 2021
From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Added test description to all the available subtests.
Cc: Katarzyna Dec <katarzyna.dec at intel.com>
Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
---
tests/debugfs_test.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/debugfs_test.c b/tests/debugfs_test.c
index 46ba0a8b..46f2fa31 100644
--- a/tests/debugfs_test.c
+++ b/tests/debugfs_test.c
@@ -29,6 +29,8 @@
#include <sys/types.h>
#include <dirent.h>
+IGT_TEST_DESCRIPTION("Test reads entries from debugfs and sysfs path.");
+
static void read_and_discard_sysfs_entries(int path_fd, int indent)
{
struct dirent *dirent;
@@ -166,11 +168,14 @@ igt_main
kmstest_set_vt_graphics_mode();
}
+ igt_describe("Test reads all entries from sysfs path.");
igt_subtest("sysfs")
read_and_discard_sysfs_entries(sysfs, 0);
+ igt_describe("Test reads all entries from debugfs path.");
igt_subtest("read_all_entries")
read_and_discard_sysfs_entries(debugfs, 0);
+ igt_describe("Test reads all debugfs entries with display on/off.");
igt_subtest_group
kms_tests(fd, debugfs);
--
2.28.0
More information about the igt-dev
mailing list