X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fapp_test%2Frun_all.ksh;h=34a4b843c5fe252a6f9c6bd583bf7ff4a7521199;hb=b0ba22eb7deafbe43f7dac0e9d6abd8d4484c3bf;hp=f2260aefa8626de953b2929cb9d2dc8d4aee09de;hpb=f7d44570f8de6e15f768e8e2d9b6061cd0bff11f;p=ric-plt%2Flib%2Frmr.git diff --git a/test/app_test/run_all.ksh b/test/app_test/run_all.ksh index f2260ae..34a4b84 100644 --- a/test/app_test/run_all.ksh +++ b/test/app_test/run_all.ksh @@ -1,7 +1,22 @@ -# run all of the tests, building rmr before the first one. +# run all of the tests, building rmr before the first one if -B is on the command line. + +build="" + +while [[ $1 == "-"* ]] +do + case $1 in + -B) build="-B";; + -i) installed="-i";; + + *) echo "'$1' is not a recognised option and is ignored";; + esac + + shift +done + set -e -ksh run_app_test.ksh -B +ksh run_app_test.ksh -v $installed $build ksh run_multi_test.ksh ksh run_rr_test.ksh ksh run_rts_test.ksh -s 20