test(e2e): Add return to sender app based test
[ric-plt/lib/rmr.git] / test / app_test / run_multi_test.ksh
index ef29336..0bc1e80 100644 (file)
@@ -111,6 +111,7 @@ nano_sender=0                               # start nano version if set (-N)
 nano_receiver=0
 wait=1
 rebuild=0
+nopull=""
 verbose=0
 nrcvrs=3                                       # this is sane, but -r allows it to be set up
 
@@ -118,6 +119,7 @@ while [[ $1 == -* ]]
 do
        case $1 in
                -B)     rebuild=1;;
+               -b)     rebuild=1; nopull="nopull";;            # enable build but without pull
                -d)     delay=$2; shift;;
                -N)     nano_sender=1
                        nano_receiver=1
@@ -144,9 +146,8 @@ fi
 
 if (( rebuild ))
 then
-       build_path=../../.build         # if we rebuild we can insist that it is in .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