[igt-dev] [PATCH i-g-t] i915/i915_selftest: Add subtests description
apoorva1.singh at intel.com
apoorva1.singh at intel.com
Sun Dec 6 13:17:24 UTC 2020
From: Apoorva Singh <apoorva1.singh at intel.com>
Add description for all the subtests
Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
---
tests/i915/i915_selftest.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/i915/i915_selftest.c b/tests/i915/i915_selftest.c
index abc8c9c7..00a02b40 100644
--- a/tests/i915/i915_selftest.c
+++ b/tests/i915/i915_selftest.c
@@ -31,16 +31,20 @@ igt_main
const char *env = getenv("SELFTESTS") ?: "";
char opts[1024];
+ igt_describe("Executes all mock selftests of i915 i.e. before driver loading using mock hardware");
igt_assert(snprintf(opts, sizeof(opts),
"mock_selftests=-1 disable_display=1 st_filter=%s",
env) < sizeof(opts));
igt_kselftests("i915", opts, NULL, "mock");
+ igt_describe("Executes all live selftests of i915 i.e. after driver initialisation on the live system");
igt_assert(snprintf(opts, sizeof(opts),
"live_selftests=-1 disable_display=1 st_filter=%s",
env) < sizeof(opts));
igt_kselftests("i915", opts, "live_selftests", "live");
+ igt_describe("Executes all performance orientated selftests of i915 after driver initialisation "
+ "on the live system");
igt_assert(snprintf(opts, sizeof(opts),
"perf_selftests=-1 disable_display=1 st_filter=%s",
env) < sizeof(opts));
--
2.25.1
More information about the igt-dev
mailing list