[igt-dev] [PATCH i-g-t] tests/kms_flip: Add subtest description
Arundhati Hagaragi
arundhati.hagaragi at intel.com
Mon Apr 5 18:48:37 UTC 2021
Added description for all subtests
Signed-off-by: Arundhati Hagaragi <arundhati.hagaragi at intel.com>
Cc: Gupta, Nidhi1 <nidhi1.gupta at intel.com>
---
tests/kms_flip.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index e0d009d2..64907c2c 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1667,10 +1667,12 @@ igt_main
}
}
+ igt_describe("Tests that nonblocking reading fails correctly");
igt_subtest("nonblocking-read")
test_nonblocking_read(drm_fd);
for (i = 0; i < sizeof(tests) / sizeof (tests[0]); i++) {
+ igt_describe("Basic test for validating modeset, dpms and pageflips");
igt_subtest_with_dynamic_f("%s%s",
tests[i].flags & TEST_BASIC ? "basic-" : "",
tests[i].name)
@@ -1679,6 +1681,7 @@ igt_main
if (tests[i].flags & TEST_NO_2X_OUTPUT)
continue;
+ igt_describe("Test for validating modeset, dpms and pageflips with a pair of connected displays");
igt_subtest_with_dynamic_f("2x-%s", tests[i].name)
run_pair(tests[i].duration, tests[i].flags);
}
@@ -1705,12 +1708,14 @@ igt_main
if (tests[i].flags & (TEST_EINVAL | TEST_EBUSY | TEST_HANG))
continue;
+ igt_describe("Interrupt test for validating modeset, dpms and pageflips");
igt_subtest_with_dynamic_f("%s-interruptible", tests[i].name)
run_test(tests[i].duration, tests[i].flags);
if (tests[i].flags & TEST_NO_2X_OUTPUT)
continue;
+ igt_describe("Interrupt test for validating modeset, dpms and pageflips with pair of connected displays");
igt_subtest_with_dynamic_f("2x-%s-interruptible", tests[i].name)
run_pair(tests[i].duration, tests[i].flags);
}
--
2.25.1
More information about the igt-dev
mailing list