Mercurial > lcfOS
view test/grind.py @ 305:0615b5308710
Updated docs
author | Windel Bouwman |
---|---|
date | Fri, 06 Dec 2013 13:50:38 +0100 |
parents | be7f60545368 |
children | e609d5296ee9 |
line wrap: on
line source
#!/usr/bin/python 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')