3 # All this strange PYTHONPATH manipulation is required to run our
4 # tests using our just built shared library and swig-generated python
5 # code prior to installation.
7 # build tree == src tree unless you're doing a VPATH build.
8 # If you don't know what a VPATH build is, you're not doing one. Relax...
11 exec_prefix=@exec_prefix@
13 # Where to look in the build tree for our shared library
14 libbld=@abs_top_builddir@/lib
15 # Where to look in the build tree for swig generated python code
16 libswig=@abs_top_builddir@/swig
17 # Where to look in the src tree for hand written python code
18 py=@abs_top_srcdir@/python
20 # Where to look for installed GNU Radio python modules
21 # FIXME this is wrong on a distcheck. We really need to ask gnuradio-core
22 # where it put its python files.
23 installed_pythondir=@pythondir@
24 installed_pyexecdir=@pyexecdir@
26 PYTHONPATH="$libbld:$libbld/.libs:$libswig:$libswig/.libs:$py:$installed_pythondir:$installed_pyexecdir:$PYTHONPATH"
32 # This is the simple part...
33 # Run everything that matches qa_*.py and return the final result.
37 for file in @srcdir@/qa_*.py