fix
This commit is contained in:
parent
6c850c0894
commit
ec4e27e46d
|
@ -93,6 +93,7 @@ function runSimCaseOneByOnefq {
|
||||||
else
|
else
|
||||||
cp -r ../../sim ~/sim_`date "+%Y_%m_%d_%H:%M:%S" `
|
cp -r ../../sim ~/sim_`date "+%Y_%m_%d_%H:%M:%S" `
|
||||||
fi
|
fi
|
||||||
|
dohavecore 1
|
||||||
exit 8
|
exit 8
|
||||||
fi
|
fi
|
||||||
end_time=`date +%s`
|
end_time=`date +%s`
|
||||||
|
@ -151,6 +152,7 @@ function runPyCaseOneByOnefq {
|
||||||
out_log=`tail -1 pytest-out.log `
|
out_log=`tail -1 pytest-out.log `
|
||||||
if [[ $out_log =~ 'failed' ]];then
|
if [[ $out_log =~ 'failed' ]];then
|
||||||
cp -r ../../sim ~/sim_`date "+%Y_%m_%d_%H:%M:%S" `
|
cp -r ../../sim ~/sim_`date "+%Y_%m_%d_%H:%M:%S" `
|
||||||
|
dohavecore 1
|
||||||
exit 8
|
exit 8
|
||||||
fi
|
fi
|
||||||
echo execution time of $case was `expr $end_time - $start_time`s. | tee -a pytest-out.log
|
echo execution time of $case was `expr $end_time - $start_time`s. | tee -a pytest-out.log
|
||||||
|
|
Loading…
Reference in New Issue