Mercurial > lcfOS
comparison python/grind.py @ 261:444b9df2ed99
try to split up code generation
author | Windel Bouwman |
---|---|
date | Fri, 09 Aug 2013 09:05:13 +0200 |
parents | 66912720d712 |
children |
comparison
equal
deleted
inserted
replaced
260:b2f94b4951f1 | 261:444b9df2ed99 |
---|---|
5 | 5 |
6 if __name__ == '__main__': | 6 if __name__ == '__main__': |
7 suite = unittest.TestLoader().discover('.') | 7 suite = unittest.TestLoader().discover('.') |
8 def runtests(): | 8 def runtests(): |
9 unittest.TextTestRunner().run(suite) | 9 unittest.TextTestRunner().run(suite) |
10 s = cProfile.run('runtests()',sort='cumtime') | 10 #s = cProfile.run('runtests()',sort='cumtime') |
11 s = cProfile.run('runtests()',sort='tottime') | |
11 | 12 |