Changeset 4ecfee9 for tests


Ignore:
Timestamp:
May 16, 2008, 8:20:03 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:
42f1cf14
Parents:
e3e9368
Message:

tests/python/run_all_tests: add a warning if list_of_test_files returns no matches, localaubio first

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/python/run_all_tests

    re3e9368 r4ecfee9  
    55from glob import glob
    66def list_of_test_files(path):
    7   return [i.split('.')[0].replace('/','.') for i in glob(path)]
     7  matches = glob(path)
     8  if not matches: print "WARNING: no matches for %s" % path
     9  return [i.split('.')[0].replace('/','.') for i in matches]
    810
    911modules_to_test  = []
     12modules_to_test += ['localaubio']
    1013modules_to_test += list_of_test_files('src/*.py')
    1114modules_to_test += list_of_test_files('src/*/*.py')
Note: See TracChangeset for help on using the changeset viewer.