shithub: aubio

ref: e34b0101944dbd29c994deeabc481d7aa0032b9f
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']

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