X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fst-client%2Fprogram.sh;h=cf44977a09753a448e63f2b5fbf6ae6cfe7e5276;hp=5714785bf4c68179428d2d71d2fc1b44a9864ce3;hb=ea1b80f8fd0c1b806460f98f4e4cf433698857d9;hpb=8b8309d46e9ccc968d3a315e86e70c5a806706d0 diff --git a/example/diameter/launcher/deployments/st-client/program.sh b/example/diameter/launcher/deployments/st-client/program.sh index 5714785..cf44977 100755 --- a/example/diameter/launcher/deployments/st-client/program.sh +++ b/example/diameter/launcher/deployments/st-client/program.sh @@ -135,7 +135,7 @@ then #CLONE_GROUPS=1 specific= [ -f $TESTCASE_DIR/specific ] && specific=specific - + count=0 while read -r line do @@ -152,12 +152,12 @@ then wait $(jobs -p) count=0 fi - + done < $PROGRAM_LAYOUT_FILE # Advice for idle cpu: advice_to_squeeze_idle_cpu - + # Wait background jobs to finish: sleep 5 echo "Waiting for clone completion ..." @@ -165,11 +165,11 @@ then echo echo "Background Jobs: $(jobs -p | wc -l)" wait $(jobs -p) - + echo echo "Programming has finished !" echo - + if [ -n "$specific" ] then echo "A new file '$TESTCASE_DIR/specific.all' has been created." @@ -252,18 +252,18 @@ else ini_seq=$(echo $line | awk '{ print $2 }') fin_seq=$(echo $line | awk '{ print $3 }') ADML_DIR=`readlink -f ADMLS/ADML-$instance` - - cd $ADML_DIR + + cd $ADML_DIR ./operation.sh -t 60 "dynamic|$ini_seq|$fin_seq|$dynamic_suffix" & sleep 0.1 - count=$((count+1)) + count=$((count+1)) if [ $count -eq $ADML_CONCURRENT_PROVISION_JOBS ] then wait $(jobs -p) count=1 fi - cd - >/dev/null - + cd - >/dev/null + done < $PROGRAM_LAYOUT_FILE # Advice for idle cpu: @@ -278,7 +278,7 @@ echo "Configuring repeat cycles ..." echo echo "Done !" echo - + start_testing= if [ "$AUTOSTART" = "-s" ] then @@ -314,7 +314,7 @@ Remember that './operation.sh' broadcasts the operation scripts inside - Interactive-step execution: ADMLS/ADML-001/operation.sh "test|interact||" - Summary: ADMLS/ADML-001/operation.sh "test|summary" -For a complete and detailed information, execute: ./operation.sh --help | less +Check 'HELP.md' for more information. You could also use './launchCPS.sh' script.