Eric Lapouyade 20e30c541c v0.5.9
2018-11-18 17:56:14 +01:00

19 lines
400 B
Python

import subprocess
import glob
import six
import os
tests = sorted(glob.glob('[A-Za-z]*.py'))
excludes = ['runtests.py']
output_dir = os.path.join(os.path.dirname(__file__),'output')
if not os.path.exists(output_dir):
os.mkdir(output_dir)
for test in tests:
if test not in excludes:
six.print_('%s ...' % test)
subprocess.call(['python','./%s' % test])
six.print_('Done.')