#!/bin/bash
cd `dirname $0`
+if [ ! -d "ADMLS" ]
+then
+ echo
+ echo "Run './configure.sh' first !"
+ echo
+ exit 1
+fi
+
for run in `ls ADMLS/*/run.sh`
do
- $run
+ cd `dirname $run`
+ ./run.sh
+ #sleep 0.1
+ cd - >/dev/null
done
+
+sleep 1
+echo
+echo
+echo "To enable reports dump for failed tests, execute:"
+echo " ./operation.sh \"test|report|failed\""
+echo
+echo "To stop the processes, you could execute:"
+echo " pgrep ADML-[0-9] | xargs kill"
+echo
+echo "When running, use script 'program.sh' to configure the test cases."
+echo "To program again, you should execute './configure.sh' script to"
+echo " change the current testing setup."
+echo
+echo "Done!"
+echo
+