source: python/test/run_all_tests @ 97525e4

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 97525e4 was 97525e4, checked in by Paul Brossier <piem@piem.org>, 16 years ago

renamed run_all_tests script

  • Property mode set to 100755
File size: 412 bytes
RevLine 
[229ea56]1#! /usr/bin/python
2
3# add ${src}/python and ${src}/python/aubio/.libs to python path
4# so the script is runnable from a compiled source tree.
5import sys, os
6sys.path.append('..')
7sys.path.append(os.path.join('..','aubio','.libs'))
8
9import unittest
10
[203c551]11modules_to_test = ['aubiomodule', 'fvec', 'cvec']
[229ea56]12
13if __name__ == '__main__':
14  for module in modules_to_test: exec('from %s import *' % module)
15  unittest.main()
Note: See TracBrowser for help on using the repository browser.