From: Paul Brossier Date: Thu, 25 Oct 2007 02:00:15 +0000 (+0200) Subject: renamed run_all_tests script X-Git-Tag: 0.4.0-beta1~1038 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=97525e4f81d3798352e3a0ba310d857993661a77;p=aubio.git renamed run_all_tests script --- diff --git a/python/test/all_tests.py b/python/test/all_tests.py deleted file mode 100755 index a066ca3a..00000000 --- a/python/test/all_tests.py +++ /dev/null @@ -1,15 +0,0 @@ -#! /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() diff --git a/python/test/run_all_tests b/python/test/run_all_tests new file mode 100755 index 00000000..a066ca3a --- /dev/null +++ b/python/test/run_all_tests @@ -0,0 +1,15 @@ +#! /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()