fix
This commit is contained in:
parent
48c1dcb4ca
commit
5e8ab6b948
|
@ -101,8 +101,10 @@ function runSimCaseOneByOnefq {
|
||||||
rm -rf ../../sim/case.log
|
rm -rf ../../sim/case.log
|
||||||
fi
|
fi
|
||||||
dohavecore $2
|
dohavecore $2
|
||||||
|
if [[ $2 == 1 ]];then
|
||||||
exit 8
|
exit 8
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
end_time=`date +%s`
|
end_time=`date +%s`
|
||||||
echo execution time of $case was `expr $end_time - $start_time`s. | tee -a out.log
|
echo execution time of $case was `expr $end_time - $start_time`s. | tee -a out.log
|
||||||
dohavecore $2
|
dohavecore $2
|
||||||
|
@ -174,8 +176,10 @@ function runPyCaseOneByOnefq() {
|
||||||
cat ../../sim/case.log
|
cat ../../sim/case.log
|
||||||
rm -rf ../../sim/case.log
|
rm -rf ../../sim/case.log
|
||||||
dohavecore $2
|
dohavecore $2
|
||||||
|
if [[ $2 == 1 ]];then
|
||||||
exit 8
|
exit 8
|
||||||
fi
|
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
|
||||||
else
|
else
|
||||||
$line > /dev/null 2>&1
|
$line > /dev/null 2>&1
|
||||||
|
|
Loading…
Reference in New Issue