shithub: aubio

ref: 14aebced4f6fec5bbd91cc76023a666f8a9b7451
dir: /python/test/all_tests.py/

View raw version
#! /usr/bin/python

# add ${src}/python and ${src}/python/aubio/.libs to python path
# so the script is runnable from a compiled source tree.
import sys, os
sys.path.append('..')
sys.path.append(os.path.join('..','aubio','.libs'))

import unittest

modules_to_test = ['aubiomodule', 'fvec', 'cvec', 'filterbank']

if __name__ == '__main__':
  for module in modules_to_test: exec('from %s import *' % module)
  unittest.main()