summaryrefslogtreecommitdiff
path: root/tests/kms-test-crc.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-08-07 09:50:29 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-08-08 02:11:31 +0300
commitf027714d6512a826410c23f40878e5babe9016b7 (patch)
tree4459025e77ac90326aac10b37038b17604ebaad8 /tests/kms-test-crc.py
parent138450c33f57ec49072cf29fbc10b42987b142f0 (diff)
tests: crc: Disable CRTC regarless of test status
The CRTC should be disabled when the test completes, regardless of whether it succeeds or fails. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tests/kms-test-crc.py')
-rwxr-xr-xtests/kms-test-crc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/kms-test-crc.py b/tests/kms-test-crc.py
index dcdfcd4..e3e31b3 100755
--- a/tests/kms-test-crc.py
+++ b/tests/kms-test-crc.py
@@ -105,7 +105,8 @@ class CRCTest(kmstest.KMSTest):
self.logger.log("CRC value 0x%08x" % crcs[0])
else:
- self.atomic_crtc_disable(crtc)
self.success()
+ self.atomic_crtc_disable(crtc)
+
CRCTest().execute()