summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-31 19:59:13 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-31 20:13:40 +0300
commita506d11d699deca92e5e62e214d206c5917e20c7 (patch)
tree3ab24b17f25df240468a04a1ac6ab93f4c6fbabd
parent385b653e229ce1c7f1115005d4cb30edbcb884a0 (diff)
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 <laurent.pinchart@ideasonboard.com>
-rwxr-xr-xtests/kms-test-formats.py2
-rwxr-xr-xtests/kms-test-plane-position.py2
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: