# HG changeset patch # User Simon Heimberg # Date 2011-02-01 19:47:05 # Node ID ce07defe7d9f04ead5555a36f2c627807fc9cd30 # Parent 91fe769ac84e87efb936c5a83c2912e947c5862b run-tests: loadable as module diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1109,4 +1109,5 @@ def main(): time.sleep(1) cleanup(options) -main() +if __name__ == '__main__': + main()