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