X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=run_tests.sh.in;h=69fbe26dc0758c12fc39a7af13c4d797d2ec86df;hb=96b6c7b97e3fb9188bc6906153254dc36cedc2cb;hp=9b6e9bfad3b74466a950c9d071460e81542f0922;hpb=9905fe273103025303358c57b79e8c197d95da3b;p=debian%2Fgnuradio diff --git a/run_tests.sh.in b/run_tests.sh.in index 9b6e9bfa..69fbe26d 100644 --- a/run_tests.sh.in +++ b/run_tests.sh.in @@ -59,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 @@ -138,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