summaryrefslogtreecommitdiff
path: root/tests/kms-test-modes.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-modes.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-modes.py')
-rwxr-xr-xtests/kms-test-modes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms-test-modes.py b/tests/kms-test-modes.py
index 2ca45c4..82a1a3b 100755
--- a/tests/kms-test-modes.py
+++ b/tests/kms-test-modes.py
@@ -30,7 +30,7 @@ class ModesTest(kmstest.KMSTest):
raise RuntimeError("Page flip not registered")
def main(self):
- for connector in self.card.connectors:
+ for connector in self.output_connectors():
self.start("modes on connector %s" % connector.fullname)
# Skip disconnected connectors