summaryrefslogtreecommitdiff
path: root/tests/kms-test-crc.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-06-19 03:09:09 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-06-19 12:05:07 +0300
commitf4f5e930412a007b9f862024cccede416da8b2d9 (patch)
treef466ccc59329a49ecab7a2a6156420e477ef8ea2 /tests/kms-test-crc.py
parent7e89c26cd015d8fb48202d327bb550d1f70cbb38 (diff)
kmstest.py: Add output_connectors() helper to skip writeback connectors
Add a generator method to the KMSTest class to enumerate all non-writeback connectors, and use it through tests. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Diffstat (limited to 'tests/kms-test-crc.py')
-rwxr-xr-xtests/kms-test-crc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms-test-crc.py b/tests/kms-test-crc.py
index 29147e5..e0e0eab 100755
--- a/tests/kms-test-crc.py
+++ b/tests/kms-test-crc.py
@@ -12,7 +12,7 @@ class CRCTest(kmstest.KMSTest):
def main(self):
# Create the connectors to CRTCs map
connectors = {}
- for connector in self.card.connectors:
+ for connector in self.output_connectors():
# Skip disconnected connectors
if not connector.connected():
continue