turn off output.

This commit is contained in:
Shuduo Sang 2020-07-08 16:33:40 +08:00
parent d2b805f3a5
commit f13e3d6adf
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ function runPyCaseOneByOne {
if [[ $line != *sleep* ]]; then if [[ $line != *sleep* ]]; then
case=`echo $line|awk '{print $NF}'` case=`echo $line|awk '{print $NF}'`
start_time=`date +%s` start_time=`date +%s`
$line && \ $line > /dev/null 2>&1 && \
echo -e "${GREEN}$case success${NC}" | tee -a pytest-out.log || \ echo -e "${GREEN}$case success${NC}" | tee -a pytest-out.log || \
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`