# HG changeset patch # User Simon Heimberg # Date 1296589625 -3600 # Node ID ce07defe7d9f04ead5555a36f2c627807fc9cd30 # Parent 91fe769ac84e87efb936c5a83c2912e947c5862b run-tests: loadable as module diff -r 91fe769ac84e -r ce07defe7d9f tests/run-tests.py --- 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()