[igt-dev] [PATCH i-g-t] tests/kms_setmode: Add debug prints for invalid configs
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Mon Jan 3 12:18:42 UTC 2022
Subtest will throw SUCCESS even though tests are not executing
for invalid config. For debugging purposes, adding prints to
invalid configs can differentiate from NOT_RUN.
Cc: Karthik B S <karthik.b.s at intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/kms_setmode.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/kms_setmode.c b/tests/kms_setmode.c
index 18d81ee4f3..3620496cf6 100644
--- a/tests/kms_setmode.c
+++ b/tests/kms_setmode.c
@@ -666,6 +666,9 @@ static void test_one_combination(const struct test_config *tconf,
if (config_valid == !(tconf->flags & TEST_INVALID))
test_crtc_config(tconf, crtcs, crtc_count);
+ else
+ igt_info("%s %d connector combination is not valid.\n",
+ tconf->name, connector_count);
cleanup_crtcs(crtcs, crtc_count);
}
--
2.32.0
More information about the igt-dev
mailing list