Changeset 212da72 for tests/python/run_all_tests
- Timestamp:
- Dec 3, 2007, 10:57:52 AM (18 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/applefworks, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 45f1f06
- Parents:
- dddf1f5 (diff), 6913434 (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
rdddf1f5 r212da72 1 1 #! /usr/bin/python 2 3 # add ${src}/python and ${src}/python/aubio/.libs to python path4 # so the script is runnable from a compiled source tree.5 import sys, os6 7 cur_dir = os.path.dirname(sys.argv[0])8 sys.path.append(os.path.join(cur_dir,'..','..','python'))9 sys.path.append(os.path.join(cur_dir,'..','..','python','aubio','.libs'))10 2 11 3 import unittest … … 15 7 return [i.split('.')[0].replace('/','.') for i in glob(path)] 16 8 17 modules_to_test = list_of_test_files('*.py') 9 modules_to_test = [] 10 modules_to_test += list_of_test_files('src/*.py') 11 modules_to_test += list_of_test_files('src/*/*.py') 18 12 modules_to_test += list_of_test_files('examples/aubio*.py') 13 modules_to_test += list_of_test_files('*.py') 19 14 20 15 if __name__ == '__main__':
Note: See TracChangeset
for help on using the changeset viewer.