From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id BB80B10E0CE for ; Thu, 23 Nov 2023 06:43:00 +0000 (UTC) From: Swati Sharma To: igt-dev@lists.freedesktop.org Date: Thu, 23 Nov 2023 12:14:04 +0530 Message-Id: <20231123064405.157754-2-swati2.sharma@intel.com> In-Reply-To: <20231123064405.157754-1-swati2.sharma@intel.com> References: <20231123064405.157754-1-swati2.sharma@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 2/3] tests/kms_feature_discovery: add display-1x test List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Add display-1x test to check if we have min 1 display connected. Signed-off-by: Swati Sharma --- tests/kms_feature_discovery.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/kms_feature_discovery.c b/tests/kms_feature_discovery.c index 56da009b7..1baa93f5f 100644 --- a/tests/kms_feature_discovery.c +++ b/tests/kms_feature_discovery.c @@ -72,7 +72,7 @@ * Mega feature: General Display Features * Test category: functionality test * - * arg[1].values: 2, 3, 4 + * arg[1].values: 1, 2, 3, 4 */ #include "igt.h" @@ -130,6 +130,11 @@ igt_main { } } + igt_describe("Make sure that we can use at least 1 output at the same time."); + igt_subtest("display-1x") { + igt_require(output_count >= 1); + } + igt_describe("Make sure that we can use at least 2 outputs at the same time."); igt_subtest("display-2x") { igt_require(output_count >= 2); -- 2.25.1