summaryrefslogtreecommitdiff
path: root/tests/kms-test-modeset.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms-test-modeset.py')
-rwxr-xr-xtests/kms-test-modeset.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/kms-test-modeset.py b/tests/kms-test-modeset.py
index e8b3d9a..fd0c4ac 100755
--- a/tests/kms-test-modeset.py
+++ b/tests/kms-test-modeset.py
@@ -58,4 +58,6 @@ class ModeSetTest(kmstest.KMSTest):
else:
self.success()
-ModeSetTest().execute()
+
+if __name__ == '__main__':
+ ModeSetTest().execute()