6 def list_of_test_files(path):
8 if not matches: print "WARNING: no matches for %s" % path
9 return [i.split('.')[0].replace('/','.') for i in matches]
12 modules_to_test += ['localaubio']
13 modules_to_test += list_of_test_files('src/*.py')
14 modules_to_test += list_of_test_files('src/*/*.py')
15 modules_to_test += list_of_test_files('examples/aubio*.py')
16 modules_to_test += list_of_test_files('*.py')
18 if __name__ == '__main__':
19 for module in modules_to_test:
20 if module != 'run_all_tests': # (not actually needed)
21 exec('from %s import *' % module)