X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fapp_test%2Frebuild.sh;fp=test%2Fapp_test%2Frebuild.ksh;h=2d1ce8301525db4ba264aff83c30b2fa51f01cf5;hb=1739800d21456ddb0b0efbf92cb6d60c6f772feb;hp=bf95b6d0c4accd2645abbd0e1f0a14f6e1a744e4;hpb=338fe5e46223df8145b53cdf52dab358f18c7f26;p=ric-plt%2Flib%2Frmr.git diff --git a/test/app_test/rebuild.ksh b/test/app_test/rebuild.sh similarity index 91% rename from test/app_test/rebuild.ksh rename to test/app_test/rebuild.sh index bf95b6d..2d1ce83 100644 --- a/test/app_test/rebuild.ksh +++ b/test/app_test/rebuild.sh @@ -20,7 +20,7 @@ # --------------------------------------------------------------------------------- # Mnemonic: rebuild.ksh -# Abstract: This is a simple script that will cause RMr to be rebuilt. It +# Abstract: This is a simple script that will cause RMR to be rebuilt. It # may be invoked by any of the run_* scripts in this directory. # # NOTE: @@ -35,7 +35,7 @@ parent=${PWD%/*} # allow us to step up gracefully gparent=${parent%/*} -build_path=${gparent}/.build # where we'll build +build_path=${BUILD_PATH:-${gparent}/.build} # where we should build; .build by default echo "$(date) build starts" >&2 ( @@ -47,8 +47,7 @@ echo "$(date) build starts" >&2 git pull # get the up to date code so if run from an old image it's a good test fi cd $build_path - cmake .. -DDEV_PKG=1 - make package + make package install ) >/tmp/PID$$.log if (( $? != 0 )) then