X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=run_tests.sh.in;h=69fbe26dc0758c12fc39a7af13c4d797d2ec86df;hb=3d27662913c78f672e3f7d7d1ebc2013ee038387;hp=35e24d794ee9825851ec1a6c3d4030a016d42f88;hpb=776da31eb84e146a8adf1e3ca7e017c1d9992ce3;p=debian%2Fgnuradio diff --git a/run_tests.sh.in b/run_tests.sh.in index 35e24d79..69fbe26d 100644 --- a/run_tests.sh.in +++ b/run_tests.sh.in @@ -10,6 +10,9 @@ abs_top_srcdir=@abs_top_srcdir@ # Absolute path to the top of the build directory abs_top_builddir=@abs_top_builddir@ +# current QA srcdir +export srcdir=$3 + # Where to find my swig generated shared library mylibdir=$2/src:$2/src/.libs:$2/src/lib:$2/src/lib/.libs @@ -56,13 +59,16 @@ export PYTHONPATH # Where to find omnithread library files gromnidir=@omnithread_LIBDIRPATH@ +# Where to find gruel library files +grueldir=@gruel_LIBDIRPATH@ + # Where to find gnuradio core's library files grcoredir=@gnuradio_core_LIBDIRPATH@ # Construct search path for python modules # Check each one to make sure it's not "" before adding grlibdir="" -for dir in $gromnidir $grcoredir +for dir in $gromnidir $grcoredir $grueldir do if [ "$dir" != "" ] then @@ -135,8 +141,15 @@ export GR_DONT_LOAD_PREFS ok=yes for file in $3/qa_*.py do - if ! @PYTHON@ $file + # echo $file + @PYTHON@ $file + r=$? + if [ $r -ne 0 ] then + if [ $r -ge 128 ] # killed by a signal + then + exit $r + fi ok=no fi done