Mercurial > lcfOS
view test/grind.py @ 314:38f5f298ce0e
Add log for interference graph
author | Windel Bouwman |
---|---|
date | Wed, 18 Dec 2013 20:22:20 +0100 |
parents | ff665880a6b0 |
children | e9fe6988497c |
line wrap: on
line source
#!/usr/bin/python import cProfile import unittest import pstats import sys import os 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')