annotate test/grind.py @ 309:68b01c8abf8a
Added start of ir read and write
author |
Windel Bouwman |
date |
Fri, 13 Dec 2013 13:51:02 +0100 |
parents |
e609d5296ee9 |
children |
ff665880a6b0 |
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
|
|
9 sys.path.insert(0, os.path.join('..','python'))
|
245
|
10
|
|
11 if __name__ == '__main__':
|
|
12 suite = unittest.TestLoader().discover('.')
|
|
13 def runtests():
|
|
14 unittest.TextTestRunner().run(suite)
|
261
|
15 #s = cProfile.run('runtests()',sort='cumtime')
|
|
16 s = cProfile.run('runtests()',sort='tottime')
|
245
|
17
|