From: Paul Brossier Date: Sun, 10 Feb 2013 07:17:15 +0000 (-0500) Subject: build_linux: update path X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f360ad8a88de436dd0a2079fff89fa98a25359aa;p=aubio.git build_linux: update path --- diff --git a/python/build_linux b/python/build_linux index 05c97ecb..f0751dd8 100755 --- a/python/build_linux +++ b/python/build_linux @@ -4,6 +4,6 @@ set -e set -x python setup.py clean build -export PYTHONPATH=./build/lib.linux-x86_64-2.7/ -export LD_LIBRARY_PATH=../../build/src/ +export PYTHONPATH=./build/lib.linux-x86_64-2.7/:./tests +export LD_LIBRARY_PATH=../build/src/ ./run_all_tests --verbose diff --git a/python/run_all_tests b/python/run_all_tests index ad18a92c..dc2fbce4 100755 --- a/python/run_all_tests +++ b/python/run_all_tests @@ -6,7 +6,7 @@ if __name__ == '__main__': # get relevant files curdir = os.path.dirname(sys.argv[0]) if curdir == '': curdir = '.' - files = os.listdir(curdir) + files = os.listdir(os.path.join(curdir, 'tests')) modfiles = filter (lambda y: y.endswith('.py'), files) modfiles = filter (lambda f: f.startswith('test_'), modfiles) # get module names