From a506d11d699deca92e5e62e214d206c5917e20c7 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 31 Jul 2022 19:59:13 +0300 Subject: tests: Don't skip formats and plane-position tests on unconnected connector The formats and plane-position tests need one connected connector. Don't skip them upon the first unconnected connector, only when no connected connector can be found. Signed-off-by: Laurent Pinchart --- tests/kms-test-formats.py | 2 +- tests/kms-test-plane-position.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/kms-test-formats.py b/tests/kms-test-formats.py index afc5454..a4f4fbf 100755 --- a/tests/kms-test-formats.py +++ b/tests/kms-test-formats.py @@ -15,7 +15,7 @@ class FormatsTest(kmstest.KMSTest): # Find a CRTC with a connected connector and at least one plane for connector in self.output_connectors(): if not connector.connected(): - self.skip('unconnected connector') + self.logger.log(f'unconnected connector {connector.fullname}') continue try: diff --git a/tests/kms-test-plane-position.py b/tests/kms-test-plane-position.py index 5dfcfaa..c85375a 100755 --- a/tests/kms-test-plane-position.py +++ b/tests/kms-test-plane-position.py @@ -15,7 +15,7 @@ class PlanePositionTest(kmstest.KMSTest): # Find a CRTC with a connected connector and at least two planes for connector in self.output_connectors(): if not connector.connected(): - self.skip('unconnected connector') + self.logger.log(f'unconnected connector {connector.fullname}') continue try: -- cgit v1.2.3