Commit 4c396d03 authored by Yann Garcia's avatar Yann Garcia
Browse files

Setup run scripts

parent 755e6f21
#!/bin/bash
#set -e
set -vx
#set -vx
clear
......@@ -32,8 +32,8 @@ rm ../bin/S1/logs/merged.*.log
for i in $(seq 1 1 $COUNTER)
do
../bin/run_mtc.bash &
../bin/run_ptcs.bash
./run_mtc.bash &
./run_ptcs.bash
dup=$(ps -ef | grep "$0" | grep -v grep | wc -l)
while [ ${dup} -eq 3 ]
......@@ -43,7 +43,7 @@ do
done
sleep 1
mv ../$ATS/logs/merged.log ../$ATS/logs/merged.`date +'%Y%m%d%S'`.log
mv ../logs/$ATS/merged.log ../logs/$ATS/merged.`date +'%Y%m%d%S'`.log
done
exit 0
......
#!/bin/bash
#set -e
set -vx
#set -vx
clear
......@@ -37,6 +36,7 @@ echo "> smtc [module_name[[.control]|.testcase_name|.*]: when MyExample is conne
echo "> emtc: Terminate MTC."
mctr ${CFG_FILES}
sudo chown -R `whoami` ${TITAN_LOG_DIR}
LOG_FILES=`find ${TITAN_LOG_DIR} -name '*.log'`
if [ "${TITAN_LOG_DIR}" != "" ]
then
......
#!/bin/bash
#set -e
set -vx
#set -vx
clear
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment