diff options
author | Johnathan Corgan <jcorgan@corganenterprises.com> | 2009-11-03 09:52:44 -0800 |
---|---|---|
committer | Johnathan Corgan <jcorgan@corganenterprises.com> | 2009-11-03 09:56:27 -0800 |
commit | 924efcb372cabb6d5217d2d7f931302339fa0417 (patch) | |
tree | ea6a851a8b10e28ab3a4da4f7223b78902a3734f /gr-howto-write-a-block/src/python/run_tests.in | |
parent | 6d25197ffc623d113274a8c79a2fa4fa4244f10f (diff) |
howto: reorganized directory structure
Moved lib to top level
Moved python to top level
Separated swig generation into new top level directory
Diffstat (limited to 'gr-howto-write-a-block/src/python/run_tests.in')
-rw-r--r-- | gr-howto-write-a-block/src/python/run_tests.in | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/gr-howto-write-a-block/src/python/run_tests.in b/gr-howto-write-a-block/src/python/run_tests.in deleted file mode 100644 index 6e4b83ea01..0000000000 --- a/gr-howto-write-a-block/src/python/run_tests.in +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh - -# All this strange PYTHONPATH manipulation is required to run our -# tests using our just built shared library and swig-generated python -# code prior to installation. - -# build tree == src tree unless you're doing a VPATH build. -# If you don't know what a VPATH build is, you're not doing one. Relax... - -prefix=@prefix@ -exec_prefix=@exec_prefix@ - -# Where to look in the build tree for our shared library -libbld=@abs_top_builddir@/src/lib -# Where to look in the src tree for swig generated python code -libsrc=@abs_top_srcdir@/src/lib -# Where to look in the src tree for hand written python code -py=@abs_top_srcdir@/src/python - -# Where to look for installed GNU Radio python modules -# FIXME this is wrong on a distcheck. We really need to ask gnuradio-core -# where it put its python files. -installed_pythondir=@pythondir@ -installed_pyexecdir=@pyexecdir@ - -PYTHONPATH="$libbld:$libbld/.libs:$libsrc:$py:$installed_pythondir:$installed_pyexecdir:$PYTHONPATH" -#PYTHONPATH="$libbld:$libbld/.libs:$libsrc:$py:$installed_pythondir:$installed_pyexecdir" - -export PYTHONPATH - -# -# This is the simple part... -# Run everything that matches qa_*.py and return the final result. -# - -ok=yes -for file in @srcdir@/qa_*.py -do - if ! $file - then - ok=no - fi -done - -if [ $ok = yes ] -then - exit 0 -else - exit 1 -fi |