annotate test/grind.py @ 318:e84047f29c78
Add burg and yacc initial attempts
author |
Windel Bouwman |
date |
Tue, 31 Dec 2013 12:38:15 +0100 |
parents |
ff665880a6b0 |
children |
e9fe6988497c |
rev |
line source |
303
|
1 #!/usr/bin/python
|
245
|
2
|
|
3 import cProfile
|
|
4 import unittest
|
|
5 import pstats
|
307
|
6 import sys
|
|
7 import os
|
|
8
|
245
|
9 if __name__ == '__main__':
|
|
10 suite = unittest.TestLoader().discover('.')
|
|
11 def runtests():
|
|
12 unittest.TextTestRunner().run(suite)
|
261
|
13 #s = cProfile.run('runtests()',sort='cumtime')
|
|
14 s = cProfile.run('runtests()',sort='tottime')
|