From f4f5e930412a007b9f862024cccede416da8b2d9 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 19 Jun 2019 03:09:09 +0300 Subject: 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 Reviewed-by: Kieran Bingham --- tests/kms-test-pageflip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms-test-pageflip.py') diff --git a/tests/kms-test-pageflip.py b/tests/kms-test-pageflip.py index 2aeaf34..bef1f49 100755 --- a/tests/kms-test-pageflip.py +++ b/tests/kms-test-pageflip.py @@ -40,7 +40,7 @@ class PageFlipTest(kmstest.KMSTest): self.stop_requested = True def main(self): - for connector in self.card.connectors: + for connector in self.output_connectors(): self.start("page flip on connector %s" % connector.fullname) # Skip disconnected connectors -- cgit v1.2.3