Changeset 031b1f9


Ignore:
Timestamp:
Oct 31, 2007, 12:26:02 PM (17 years ago)
Author:
Paul Brossier <piem@piem.org>
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
Message:

added examples tests

Location:
tests/python
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • tests/python/run_all_tests

    rf14d323 r031b1f9  
    1212
    1313from glob import glob
    14 modules_to_test = [i.split('.')[0] for i in glob('*.py')]
     14def list_of_test_files(path):
     15  return [i.split('.')[0].replace('/','.') for i in glob(path)]
     16
     17modules_to_test  = list_of_test_files('*.py')
     18modules_to_test += list_of_test_files('examples/aubio*.py')
    1519
    1620if __name__ == '__main__':
    1721  for module in modules_to_test:
    18     if module != 'all_tests': # (not actually needed)
     22    if module != 'run_all_tests': # (not actually needed)
    1923      exec('from %s import *' % module)
    2024  unittest.main()
Note: See TracChangeset for help on using the changeset viewer.