Correct cause of NPE in python wrapper
[ric-plt/lib/rmr.git] / test / app_test / run_all.ksh
index f2260ae..990694d 100644 (file)
@@ -1,7 +1,26 @@
 
-# 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
+echo "---- app -------------"
+ksh run_app_test.ksh -v $installed $build
+echo "----- multi -----------"
 ksh run_multi_test.ksh
+echo "----- round robin ----"
 ksh run_rr_test.ksh
+echo "----- rts ------------"
 ksh run_rts_test.ksh -s 20