From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4361410E157 for ; Tue, 31 Oct 2023 11:14:00 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Tue, 31 Oct 2023 16:34:24 +0530 Message-Id: <20231031110424.4127934-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t] tests/intel/kms_pm_lpsp: Fix test constraint for bigjoiner List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: If there is no Bigjoiner involved, the test constraint returns 'false', which causes the test to be skipped. Fix the test constraint logic to handle both bigjoiner & non-bigjoiner cases. Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/9340 Signed-off-by: Bhanuprakash Modem --- tests/intel/kms_pm_lpsp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/intel/kms_pm_lpsp.c b/tests/intel/kms_pm_lpsp.c index cb3c3e379..a85e4e795 100644 --- a/tests/intel/kms_pm_lpsp.c +++ b/tests/intel/kms_pm_lpsp.c @@ -174,9 +174,11 @@ static bool test_constraint(data_t *data) return true; } + + return false; } - return false; + return true; } static void test_lpsp(data_t *data) -- 2.40.0