summaryrefslogtreecommitdiff
path: root/tests/kms-test-plane-alpha.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms-test-plane-alpha.py')
-rwxr-xr-xtests/kms-test-plane-alpha.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/kms-test-plane-alpha.py b/tests/kms-test-plane-alpha.py
index 8802bfe..894e4ab 100755
--- a/tests/kms-test-plane-alpha.py
+++ b/tests/kms-test-plane-alpha.py
@@ -94,4 +94,6 @@ class PlaneAlphaTest(kmstest.KMSTest):
self.atomic_crtc_disable(crtc)
-PlaneAlphaTest().execute()
+
+if __name__ == '__main__':
+ PlaneAlphaTest().execute()