ab95c737fdcf8aaaf378de71997784973c59230b
[anna.git] / example / diameter / launcher / deployments / st-client / run_all.sh
1 #!/bin/bash
2 cd `dirname $0`
3 if [ ! -d "ADMLS" ]
4 then
5   echo
6   echo "Run './configure.sh' first !"
7   echo
8   exit 1
9 fi
10
11 for run in `ls ADMLS/*/run.sh`
12 do
13   cd `dirname $run`
14   ./run.sh
15   #sleep 0.1
16   cd - >/dev/null
17 done
18
19 sleep 1
20 echo
21 echo
22 echo "To enable reports dump for failed tests, execute:"
23 echo "   ./operation.sh \"test|report|failed\""
24 echo
25 echo "To stop the processes, you could execute:"
26 echo "   pgrep ADML-[0-9] | xargs kill"
27 echo
28 echo "When running, use script 'program.sh' to configure the test cases."
29 echo "To program again, you should execute './configure.sh' script to"
30 echo " change the current testing setup."
31 echo
32 echo "Done!"
33 echo
34