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