This commit is contained in:
liuyq-617 2021-05-06 14:55:36 +08:00
parent 702cb85499
commit 8258fc2533
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ function runSimCaseOneByOne {
echo -e "${RED} failed${NC}" | tee -a out.log
else
echo -n $case
./test.sh -f $case > /dev/null 2>&1 && \
./test.sh -f $case && \
( grep -q 'script.*'$case'.*failed.*, err.*lineNum' ../../sim/tsim/log/taoslog0.0 && echo -e "${RED} failed${NC}" | tee -a out.log || echo -e "${GREEN} success${NC}" | tee -a out.log )|| \
( grep -q 'script.*success.*m$' ../../sim/tsim/log/taoslog0.0 && echo -e "${GREEN} success${NC}" | tee -a out.log ) || \
echo -e "${RED} failed${NC}" | tee -a out.log