Mercurial > lcfOS
view test/grind.py @ 311:ff665880a6b0
Added testcase for kernel and userspace
author | Windel Bouwman |
---|---|
date | Mon, 16 Dec 2013 12:49:24 +0100 |
parents | e609d5296ee9 |
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')