[igt-dev] [i-g-t] tests/intel/kms_pm_lpsp: Fix test constraint for bigjoiner
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Tue Oct 31 11:04:24 UTC 2023
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 at 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
More information about the igt-dev
mailing list