Improve the formats test by adding progress reporting, as the test is long. Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> --- tests/kms-test-formats.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/kms-test-formats.py b/tests/kms-test-formats.py index 77c9fe775a7c..93075561a843 100755 --- a/tests/kms-test-formats.py +++ b/tests/kms-test-formats.py @@ -40,8 +40,12 @@ class FormatsTest(kmstest.KMSTest): self.logger.log("Testing connector %s, CRTC %u, mode %s" % \ (connector.fullname, crtc.id, mode.name)) - for format in crtc.primary_plane.formats: + num_formats = len(crtc.primary_plane.formats) + for i in range(num_formats): + format = crtc.primary_plane.formats[i] + self.logger.log("Testing format %s" % format) + self.progress(i+1, num_formats) # Create a frame buffer try: -- Regards, Laurent Pinchart