Ignore:
Timestamp:
Nov 6, 2007, 11:53:50 AM (16 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:
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.
Message:

merge from banane

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/python/run_all_tests

    r82c588a ref7df76  
    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.