This commit is contained in:
liuyq-617 2021-03-23 13:04:42 +08:00
parent 48c1dcb4ca
commit 5e8ab6b948
1 changed files with 6 additions and 2 deletions

View File

@ -101,8 +101,10 @@ function runSimCaseOneByOnefq {
rm -rf ../../sim/case.log
fi
dohavecore $2
if [[ $2 == 1 ]];then
exit 8
fi
fi
end_time=`date +%s`
echo execution time of $case was `expr $end_time - $start_time`s. | tee -a out.log
dohavecore $2
@ -174,8 +176,10 @@ function runPyCaseOneByOnefq() {
cat ../../sim/case.log
rm -rf ../../sim/case.log
dohavecore $2
if [[ $2 == 1 ]];then
exit 8
fi
fi
echo execution time of $case was `expr $end_time - $start_time`s. | tee -a pytest-out.log
else
$line > /dev/null 2>&1