X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fapp_test%2Frun_app_test.ksh;h=ef12a003183598de3b930608b38f315a8c096195;hb=refs%2Ftags%2F3.3.0;hp=65adf686db5dade0b48cf4d6e9a568ccae8a8951;hpb=02e8d49f42d94b51494977aa0d6f67479f1ceb1c;p=ric-plt%2Flib%2Frmr.git diff --git a/test/app_test/run_app_test.ksh b/test/app_test/run_app_test.ksh index 65adf68..ef12a00 100644 --- a/test/app_test/run_app_test.ksh +++ b/test/app_test/run_app_test.ksh @@ -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