Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id F236E10E12A for ; Mon, 3 Jan 2022 12:20:54 +0000 (UTC) From: Bhanuprakash Modem Date: Mon, 3 Jan 2022 17:48:42 +0530 Message-Id: <20220103121842.1706254-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t] tests/kms_setmode: Add debug prints for invalid configs List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org List-ID: 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 Signed-off-by: Bhanuprakash Modem --- 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