Mercurial > lcfOS
diff test/grind.py @ 287:1c7c1e619be8
File movage
author | Windel Bouwman |
---|---|
date | Thu, 21 Nov 2013 11:57:27 +0100 |
parents | python/grind.py@444b9df2ed99 |
children | be7f60545368 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/grind.py Thu Nov 21 11:57:27 2013 +0100 @@ -0,0 +1,12 @@ + +import cProfile +import unittest +import pstats + +if __name__ == '__main__': + suite = unittest.TestLoader().discover('.') + def runtests(): + unittest.TextTestRunner().run(suite) + #s = cProfile.run('runtests()',sort='cumtime') + s = cProfile.run('runtests()',sort='tottime') +