Add first set of SI95 unit tests and health check
[ric-plt/lib/rmr.git] / test / app_test / run_rr_test.ksh
index e78cc4e..62aae3b 100644 (file)
@@ -115,6 +115,7 @@ do
                -b)     rebuild=1; nopull="nopull";;            # build without pulling
                -d)     delay=$2; shift;;
                -m) max_mtype=$2; shift;;
+               -M) force_make=1;;
                -n)     nmsg=$2; shift;;
                -N)     si="";;                                                         # build/run NNG binaries
                -r)     nrcvrs=$2; shift;;
@@ -142,7 +143,7 @@ fi
 if (( rebuild ))
 then
        set -e
-       ksh ./rebuild.ksh $nopull | read build_path
+       $SHELL ./rebuild.ksh $nopull | read build_path
        set +e
 else
        build_path=${BUILD_PATH:-"../../.build"}        # we prefer .build at the root level, but allow user option
@@ -157,9 +158,9 @@ fi
 
 if [[ -d $build_path/lib64 ]]
 then
-       export LD_LIBRARY_PATH=$build_path:$build_path/lib64
+       export LD_LIBRARY_PATH=$build_path:$build_path/lib64:$LD_LIBRARY_PATH
 else
-       export LD_LIBRARY_PATH=$build_path:$build_path/lib
+       export LD_LIBRARY_PATH=$build_path:$build_path/lib:$LD_LIBRARY_PATH
 fi
 export LIBRARY_PATH=$LD_LIBRARY_PATH
 export RMR_SEED_RT=./rr.rt