Add first set of SI95 unit tests and health check
[ric-plt/lib/rmr.git] / test / app_test / run_app_test.ksh
index 65adf68..ef12a00 100644 (file)
@@ -168,7 +168,7 @@ else
        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
@@ -194,9 +194,11 @@ export RMR_SEED_RT=${RMR_SEED_RT:-./app_test.rt}           # allow easy testing with diff
 
 if (( force_make )) || [[ ! -f ./sender${si} || ! -f ./receiver${si} ]]
 then
-       if ! make -B sender${si} receiver${si} >/dev/null 2>&1
+       if ! make -B sender${si} receiver${si} >/tmp/PID$$.clog 2>&1
        then
                echo "[FAIL] cannot find sender${si} and/or receiver${si}binary, and cannot make them.... humm?"
+               head -50 /tmp/PID$$.clog
+               rm -fr /tmp/PID$$.*
                exit 1
        fi
 fi