[kms-test] [PATCH 8/7] tests: Don't skip formats and plane-position tests on unconnected connector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
---
 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 afc5454d0b5d..a4f4fbfa3071 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 5dfcfaaba05e..c85375adc0d2 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:

-- 
Regards,

Laurent Pinchart




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux