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
# 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