changeset 13347:ce07defe7d9f

run-tests: loadable as module
author Simon Heimberg <simohe@besonet.ch>
date Tue, 01 Feb 2011 20:47:05 +0100
parents 91fe769ac84e
children 31fdb04cb5e8
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Thu Feb 03 07:58:54 2011 +0100
+++ b/tests/run-tests.py	Tue Feb 01 20:47:05 2011 +0100
@@ -1109,4 +1109,5 @@
         time.sleep(1)
         cleanup(options)
 
-main()
+if __name__ == '__main__':
+    main()