Changeset ef7df76 for tests/python/run_all_tests
- Timestamp:
- Nov 6, 2007, 11:53:50 AM (17 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- f218f29
- Parents:
- 82c588a (diff), 2b3280a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/python/run_all_tests
r82c588a ref7df76 12 12 13 13 from glob import glob 14 modules_to_test = [i.split('.')[0] for i in glob('*.py')] 14 def list_of_test_files(path): 15 return [i.split('.')[0].replace('/','.') for i in glob(path)] 16 17 modules_to_test = list_of_test_files('*.py') 18 modules_to_test += list_of_test_files('examples/aubio*.py') 15 19 16 20 if __name__ == '__main__': 17 21 for module in modules_to_test: 18 if module != ' all_tests': # (not actually needed)22 if module != 'run_all_tests': # (not actually needed) 19 23 exec('from %s import *' % module) 20 24 unittest.main()
Note: See TracChangeset
for help on using the changeset viewer.