Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [i-g-t] tests/intel/kms_pm_lpsp: Fix test constraint for bigjoiner
@ 2023-10-31 11:04 Bhanuprakash Modem
  2023-10-31 12:30 ` [igt-dev] ✓ CI.xeBAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Bhanuprakash Modem @ 2023-10-31 11:04 UTC (permalink / raw)
  To: igt-dev

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 <bhanuprakash.modem@intel.com>
---
 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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-11-03  8:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-31 11:04 [igt-dev] [i-g-t] tests/intel/kms_pm_lpsp: Fix test constraint for bigjoiner Bhanuprakash Modem
2023-10-31 12:30 ` [igt-dev] ✓ CI.xeBAT: success for " Patchwork
2023-10-31 12:37 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2023-10-31 17:38 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/intel/kms_pm_lpsp: Fix test constraint for bigjoiner (rev2) Patchwork
2023-10-31 18:36 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-11-02  8:00 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-11-03  8:04 ` [igt-dev] [i-g-t] tests/intel/kms_pm_lpsp: Fix test constraint for bigjoiner Karthik B S

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox