3 # First argument is absolute path to top of component source directory
4 # Second argument is absolute path to top of component build directory
5 # Third argument is component source directory for qa tests
7 # Where to find my swig generated shared library
8 mylibdir=$2/src:$2/src/.libs:$2/src/lib:$2/src/lib/.libs
10 # Where to find my swig generated python module
11 mysrcdir=$1/src:$1/src/lib
13 # Where to find my hand written python modules
14 mypydir=$1/src:$1/src/python
16 # Where to find core's swig generated shared libraries
17 grswigdir=@abs_top_builddir@/gnuradio-core/src/lib/swig
18 grswigdir=$grswigdir:$grswigdir/.libs
20 # Where to find core's python modules
21 grpydir=@abs_top_srcdir@/gnuradio-core/src/python
23 # Where to find core's master library files
24 grlibdir=@abs_top_srcdir@/gnuradio-core/src/lib
25 grlibdir=$grlibdir:$grlibdir/.libs
27 # Construct search path for python modules
28 PYTHONPATH="$mylibdir:$mysrcdir:$mypydir:$grswigdir:$grpydir:$PYTHONPATH"
32 DYLD_LIBRARY_PATH=$grlibdir
33 export DYLD_LIBRARY_PATH
38 # Don't load user or system prefs
40 export GR_DONT_LOAD_PREFS
42 # Run everything that matches qa_*.py and return the final result.
45 for file in $3/qa_*.py