Commit 81f3f81d authored by Denis Bilenko's avatar Denis Bilenko

add test__benchmarks.py

parent ab5e736c
import sys
import os
import glob
modules = set()
for path in glob.glob('bench_*.py'):
modules.add(path)
assert modules
error = 0
for path in modules:
print path
sys.stdout.flush()
res = os.system('%s %s all' % (sys.executable, path))
if res:
error = 1
print path, 'failed'
print '-----'
if error:
sys.exit(1)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment