# 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
# 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
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