X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fapp_test%2Frun_app_test.ksh;h=ff0673ff711badb47969c15d63f1c8d256b2456d;hb=refs%2Fchanges%2F50%2F250%2F6;hp=90ef2cfe3d2b2b179420d6651070eeee2038e206;hpb=4c42c80d426a3499ca47ce1849032cda1bd5ff8f;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 90ef2cf..ff0673f 100644 --- a/test/app_test/run_app_test.ksh +++ b/test/app_test/run_app_test.ksh @@ -73,12 +73,14 @@ nano_sender=0 # start nano version if set (-N) nano_receiver=0 wait=1 rebuild=0 +nopull="" # -b sets so that build does not pull verbose=0 while [[ $1 == -* ]] do case $1 in - -B) rebuild=1;; + -B) rebuild=1;; # build with pull first + -b) rebuild=1; nopull="nopull";; # buld without pull -d) delay=$2; shift;; -N) nano_sender=1 nano_receiver=1 @@ -104,9 +106,8 @@ fi if (( rebuild )) then - build_path=../../.build set -e - ksh ./rebuild.ksh + ksh ./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