<test>full test
This commit is contained in:
parent
b7119d3d18
commit
fa25d38dea
|
@ -17,9 +17,9 @@ function runSimCaseOneByOne {
|
||||||
echo -e "${GREEN}$case success${NC}" | tee -a out.log || \
|
echo -e "${GREEN}$case success${NC}" | tee -a out.log || \
|
||||||
echo -e "${RED}$case failed${NC}" | tee -a out.log
|
echo -e "${RED}$case failed${NC}" | tee -a out.log
|
||||||
out_log=`tail -1 out.log `
|
out_log=`tail -1 out.log `
|
||||||
if [[ $out_log =~ 'failed' ]];then
|
# if [[ $out_log =~ 'failed' ]];then
|
||||||
exit 8
|
# exit 8
|
||||||
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
|
||||||
fi
|
fi
|
||||||
|
@ -42,9 +42,9 @@ function runPyCaseOneByOne {
|
||||||
echo -e "${RED}$case failed${NC}" | tee -a pytest-out.log
|
echo -e "${RED}$case failed${NC}" | tee -a pytest-out.log
|
||||||
end_time=`date +%s`
|
end_time=`date +%s`
|
||||||
out_log=`tail -1 pytest-out.log `
|
out_log=`tail -1 pytest-out.log `
|
||||||
if [[ $out_log =~ 'failed' ]];then
|
# if [[ $out_log =~ 'failed' ]];then
|
||||||
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
|
||||||
else
|
else
|
||||||
$line > /dev/null 2>&1
|
$line > /dev/null 2>&1
|
||||||
|
|
Loading…
Reference in New Issue