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 hand generated swig glue
21 grswigsrcdir=@abs_top_srcdir@/gnuradio-core/src/lib/swig
23 # Where to find core's python modules
24 grpydir=@abs_top_srcdir@/gnuradio-core/src/python
26 # Where to find core's master library files
27 grlibdir=@abs_top_builddir@/gnuradio-core/src/lib
28 grlibdir=$grlibdir:$grlibdir/.libs
30 # Construct search path for python modules
31 PYTHONPATH="$mylibdir:$mysrcdir:$mypydir:$grswigdir:$grswigsrcdir:$grpydir:$PYTHONPATH"
35 DYLD_LIBRARY_PATH=$grlibdir
36 export DYLD_LIBRARY_PATH
41 # Don't load user or system prefs
43 export GR_DONT_LOAD_PREFS
45 # Run everything that matches qa_*.py and return the final result.
48 for file in $3/qa_*.py