Changeset 031b1f9 for tests/python/run_all_tests
- Timestamp:
- Oct 31, 2007, 12:26:02 PM (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:
- 79287252
- Parents:
- f14d323
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/python/run_all_tests
rf14d323 r031b1f9 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.