[igt-dev] [PATCH i-g-t] i915/sysfs_defaults: Added test description for test case
priyanka.dandamudi at intel.com
priyanka.dandamudi at intel.com
Tue Jan 12 03:17:11 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/i915/sysfs_defaults.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/i915/sysfs_defaults.c b/tests/i915/sysfs_defaults.c
index dda27a0a..a564cad2 100644
--- a/tests/i915/sysfs_defaults.c
+++ b/tests/i915/sysfs_defaults.c
@@ -34,6 +34,9 @@
#include "i915/gem_engine_topology.h"
#include "igt_sysfs.h"
+IGT_TEST_DESCRIPTION("Test checks .default/parameter for every writable parameter "
+ "and .default should be read-only.");
+
static bool may_write(int dir, const char *file)
{
struct stat st;
@@ -99,7 +102,8 @@ igt_main
close(sys);
}
-
+ igt_describe("Test checks that every writable parameter have a "
+ "default value and no default value is writable.");
igt_subtest_with_dynamic("readonly")
dyn_sysfs_engines(i915, engines, NULL, test_writable);
--
2.28.0
More information about the igt-dev
mailing list