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